Search found 5 matches
- Fri Dec 10, 2021 12:59 pm
- Forum: General Discussion
- Topic: How to save Scriptable Object as value, not by reference?
- Replies: 10
- Views: 2373
Re: How to save Scriptable Object as value, not by reference?
I see! Not providing ES3Settings yields the same result though. I get the correct File Names with ES3.GetFiles, it just seems that the deserialized object that's added to the list is always the same so it gets overriden every time I deserialize in the for loop and I don't understand why that happens...
- Fri Dec 10, 2021 11:31 am
- Forum: General Discussion
- Topic: How to save Scriptable Object as value, not by reference?
- Replies: 10
- Views: 2373
Re: How to save Scriptable Object as value, not by reference?
I see, I will use the ES3 Manager then. It seems to work fine with it. I am just a little wary what's happening under the hood with the Object Reference stuff as I am trying not to save or load any actual references, just values. I have run into another issue which is probably easy to fix though. I ...
- Thu Dec 09, 2021 4:33 pm
- Forum: General Discussion
- Topic: How to save Scriptable Object as value, not by reference?
- Replies: 10
- Views: 2373
Re: How to save Scriptable Object as value, not by reference?
Hi Joel, I am attempting to do exactly as the title of this thread says. I have a ScriptableObject instance (generated at runtime) that I want to serialize by value. It does contain Unity.Object references but we have marked them all as ES3NonSerializable which works and has already been tested. The...
- Mon Nov 29, 2021 8:48 am
- Forum: General Discussion
- Topic: Deserialization Callback
- Replies: 2
- Views: 715
Re: Deserialization Callback
Hi Joel, I will keep this in mind. Thank you for the quick response!
- Fri Nov 26, 2021 11:44 am
- Forum: General Discussion
- Topic: Deserialization Callback
- Replies: 2
- Views: 715
Deserialization Callback
Hi there! Using Unity 2020.3.17 and EasySave 3.3.2f7. We would like to avoid storing direct ScriptableObject references in our save file so we store their keys (string) and after deserialization we want to access our internal database to get the actual ScriptableObject reference. For this, objects t...