Page 2 of 2

Re: Not saving ScriptableObjects correctly, losing prefab ref

Posted: Sun Aug 02, 2020 7:34 pm
by Joel
Hi there,
I confirmed that ES3 was adding it's own unique ID without explicitly inputting one as a parameter, so inputting a parameter seems redundant- unless I'm missing something.
If you don't explicitly input one as a parameter, it will assign a random ID each time you change the scene. This means that the ID in the file will not be the same as the random one which is assigned to it. By assigning your own ID which isn't random, it ensures that the ID is the same between loads. This should resolve your issue.

If this doesn't resolve your issue, please could you make a new project with minimal content which replicates your issue and private message it to me with instructions?

All the best,
Joel

Re: Not saving ScriptableObjects correctly, losing prefab ref

Posted: Tue Aug 11, 2020 12:56 am
by steve18624
Hi Joel,

I couldn't get it to work. I'm DM you.

Re: Not saving ScriptableObjects correctly, losing prefab ref

Posted: Wed Aug 12, 2020 3:37 pm
by Timbo
Hi Joel,

I'm having also issues with SO. When I save a SO runtime, and afterwards load that SO in the same session (in the editor) it works fine. But when I close the application, then start again and then load the SO, it will give a NullReferenceException..

In the 'ES3' file the reference looks like this :

"_ES3Ref" : "7612383362755844415"

Hope that you can help. There is no reference in the scene to the SO. Only via a prefab which is loaded with addressables.

Re: Not saving ScriptableObjects correctly, losing prefab ref

Posted: Wed Aug 12, 2020 3:50 pm
by Timbo
Never mind, I needed to add the SO manually by right clicking and adding the references to the Easy Save Manager.

Another question, performance wise, can I only add the references to the Ease Save Manager that I need? Right now all the object in the scene are added automatically.

Re: Not saving ScriptableObjects correctly, losing prefab ref

Posted: Wed Aug 12, 2020 5:04 pm
by Joel
Hi there,

You can go to Window > Easy Save 3 > Settings, and uncheck 'Automatically add references to manager'.

All the best,
Joel

Re: Not saving ScriptableObjects correctly, losing prefab ref

Posted: Thu Aug 13, 2020 1:28 pm
by Timbo
Is that the checkbox under 'Editor Settings' which is called 'Auto Update References'?

Otherwise I can't find it..

Re: Not saving ScriptableObjects correctly, losing prefab ref

Posted: Thu Aug 13, 2020 1:41 pm
by Joel
That's correct. Apologies, I forgot we renamed that.

All the best,
Joel

Re: Not saving ScriptableObjects correctly, losing prefab ref

Posted: Thu Aug 13, 2020 2:32 pm
by Timbo
Aah okay thanks, but that doesn't work for me. I even cleared everything and added the ease save manager again.

It still keeps adding all the scene objects to the reference list. I would expect it start with an empty reference list.

Re: Not saving ScriptableObjects correctly, losing prefab ref

Posted: Sun Aug 16, 2020 9:10 am
by Joel
Hi there,

It may be that the change in settings isn't being recognised. If you private message me your invoice number I can send over an update which will ensure that the change is recognised and should hopefully resolve your issue.

All the best,
Joel