Incompatible with 2017.3 Assembly Definition feature

Discussion and help for Easy Save 3
Post Reply
m9731526
Posts: 4
Joined: Sat Jan 13, 2018 5:42 am

Incompatible with 2017.3 Assembly Definition feature

Post 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...
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Incompatible with 2017.3 Assembly Definition feature

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
m9731526
Posts: 4
Joined: Sat Jan 13, 2018 5:42 am

Re: Incompatible with 2017.3 Assembly Definition feature

Post 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.)
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Incompatible with 2017.3 Assembly Definition feature

Post by Joel »

Glad to hear that's fixed your problem!

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Don Goddard
Posts: 2
Joined: Tue May 21, 2019 9:52 pm

Re: Incompatible with 2017.3 Assembly Definition feature

Post 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 5040 times
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Incompatible with 2017.3 Assembly Definition feature

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Deadcow
Posts: 4
Joined: Thu Apr 23, 2020 10:16 am

Re: Incompatible with 2017.3 Assembly Definition feature

Post 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
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Incompatible with 2017.3 Assembly Definition feature

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply