Page 1 of 1

Incompatible with 2017.3 Assembly Definition feature

Posted: Fri Feb 02, 2018 12:05 pm
by m9731526
Today I reorganized my project and setup an amount of adf (Assembly Definition File), then ES3 starts to failed to load types (inside a adf).
TypeLoadException: Type list could not be initialised. Please contact Easy Save developers on mail@moodkie.com.
It's not surprising though since ES use reflection to get types...

Re: Incompatible with 2017.3 Assembly Definition feature

Posted: Fri Feb 02, 2018 12:14 pm
by Joel
Hi there,

Going to Assets > Easy Save 3 > Settings, going down to Editor Settings, and then entering your assembly names into the Assemblies containing ES3Types array should fix your issue.

All the best,
Joel

Re: Incompatible with 2017.3 Assembly Definition feature

Posted: Fri Feb 02, 2018 12:57 pm
by m9731526
Awesome, it works! Thanks!
(If Easy Save is also in a adf, The adf containing Easy Save have to be added as well.)

Re: Incompatible with 2017.3 Assembly Definition feature

Posted: Fri Feb 02, 2018 2:28 pm
by Joel
Glad to hear that's fixed your problem!

All the best,
Joel

Re: Incompatible with 2017.3 Assembly Definition feature

Posted: Tue May 21, 2019 9:58 pm
by Don Goddard
I'm having the same problem and I just built everything with Assembly Definitions. Unfortunately, I can't seem to find any way to add my asmdef files because the option in Easy Setting 3 is always greyed out! How do I get access to those fields so I can add my asmdef's that use Easy Save?

Thanks, awesome product,

Don
Screen Shot 2019-05-21 at 5.55.47 PM.png
Screen Shot 2019-05-21 at 5.55.47 PM.png (72.42 KiB) Viewed 5094 times

Re: Incompatible with 2017.3 Assembly Definition feature

Posted: Wed May 22, 2019 6:14 pm
by Joel
Hi Don,

This is a bug at Unity's end and is fixed in later versions of Unity. If you don't want to update, please follow the instructions in my earlier post.

You will also want to make sure you're using the latest version of Easy Save.

All the best,
Joel

Re: Incompatible with 2017.3 Assembly Definition feature

Posted: Thu Apr 23, 2020 10:35 am
by Deadcow
This one is a bit old but I've got the same issue. I need to reference asmdef files to use this plugin with my scripts so I made two, for Scripts and for Editor folders.
All compiles well but on the first use it throws this exception

Image

Is there some proper ways to make asmdefs now? I didn't found any info in docs. I also looked in the settings and there is no such options, so it's probbly handled differently in latest versions?
Image

Re: Incompatible with 2017.3 Assembly Definition feature

Posted: Mon Apr 27, 2020 7:01 am
by Joel
Deadcow wrote:This one is a bit old but I've got the same issue. I need to reference asmdef files to use this plugin with my scripts so I made two, for Scripts and for Editor folders.
All compiles well but on the first use it throws this exception

Image

Is there some proper ways to make asmdefs now? I didn't found any info in docs. I also looked in the settings and there is no such options, so it's probbly handled differently in latest versions?
Image
Hi there,

Currently you can go Plugins/Easy Save 3/Resources/ES3, and add the name of your assembly to the Assemblies containing ES3Types array in the ES3Defaults asset.

In the upcoming release, definition files will be handled automatically as Unity has now provided a way to do so.

All the best,
Joel