Page 1 of 2

Problem with ES3 saving GameObject

Posted: Sat Jan 27, 2018 3:22 am
by gracew21
I am currently using the latest es3 package(from easy save 2.8.4p1) and my unity version is 5.6.1f1.

I try to use ES3 to save the gameObject in the scene, the material of the gameObject is lost when loaded. Only saving the material is also not work? It seems saving material is not supported? But from the es3 guide it should be support. Is it a bug or I need to do something more?

Re: Problem with ES3 saving GameObject

Posted: Sun Jan 28, 2018 9:21 am
by Joel
Hi there,

I believe there is a bug fix for this in the upcoming update. If you PM me your order number I'll send this update over to you.

Also note that if your material is baked into an FBX/OBJ file, it's not possible to save and load this with the ES3.Save<GameObject> because Unity provides no way of accessing the material by reference. In this case you may be better off saving and loading the Material separately.

All the best,
Joel

Re: Problem with ES3 saving GameObject

Posted: Fri Mar 02, 2018 6:54 am
by hawken
Hi I'm having the same problem.

I'm using new clones of a material on my gameobjects (so I can change colour) using Unity's material Getter/Setter.

When reloaded in the material is lost.

Re: Problem with ES3 saving GameObject

Posted: Fri Mar 02, 2018 9:23 am
by hawken
Hi

I'm also finding that if I quit the application / stop running in editor, then fire it up again, the meshes are missing.

Re: Problem with ES3 saving GameObject

Posted: Fri Mar 02, 2018 2:09 pm
by Joel
Hi there,

Please could you PM me a very basic project which replicates this so I can try it at my end?

You will also want to make sure you're using the very latest of Easy Save, as the update released earlier in the week fixes problems which sound very similar to the ones you're having.

All the best,
Joel

Re: Problem with ES3 saving GameObject

Posted: Wed Mar 21, 2018 9:56 am
by hawken
Hi I updated but the problem remains, it doesn't appear to load run time created meshes or materials after app stop and start (or editor stop start)

Re: Problem with ES3 saving GameObject

Posted: Wed Mar 21, 2018 12:12 pm
by hawken
I just tried a basic test with a runtime generated Texture2D and it doesn't load back in either.

Could this be an issue with my setup? No runtime generated content loads back in once stopping and starting unity, at all.

Mac osx sierra
unity 2017.3

Runtime settings:

Location: File
Directory: Persistent Data Path

Re: Problem with ES3 saving GameObject

Posted: Wed Mar 21, 2018 1:49 pm
by Joel
Hi there,

I've replied to your email.

All the best,
Joel

Re: Problem with ES3 saving GameObject

Posted: Sat Mar 31, 2018 8:39 pm
by reynanuy
Hi. I am having the same problem, with the latest Beta sent to me by Joel, due to the ArgumentException error.
It seems that neither Meshes nor Materials are being saved, at least in 5.6.5f1 which is the version I have.
Another thing, when using LoadInto an existing gameObject, the loaded children are not parented to the object.
That's really annoying.

Re: Problem with ES3 saving GameObject

Posted: Mon Apr 02, 2018 7:34 am
by Joel
Hi there,

Would you be able to send us a basic test project which replicates this? With the update I don't seem to be getting this issue?

Also try deleting your old save data, as this may have the old serialised data in which will still exhibit the error. You can do this by going to Window > Easy Save 3 > Tools > Open Default Save Folder and delete it from there.

All the best,
Joel