Search found 26 matches

by funtomata
Wed Feb 24, 2021 12:59 pm
Forum: General Discussion
Topic: Scriptable object reference not saved
Replies: 29
Views: 6735

Re: Scriptable object reference not saved

Glad you managed to get it working. Let me know if you run into any other problems. All the best, Joel Hey Joel, so I found how to reproduce the bug. It seems that adding autosave causes problems. I don't see anything in the docs saying that you shouldn't use AutoSave in conjunction with AS3.Save i...
by funtomata
Tue Feb 23, 2021 8:16 pm
Forum: General Discussion
Topic: Scriptable object reference not saved
Replies: 29
Views: 6735

Re: Scriptable object reference not saved

fyi, after rolling back my project and strictly adding the inventory save code without messing with any auto save, I don't have any more problems.

I'll keep you informed if the problem comes back after I added auto saves
by funtomata
Tue Feb 23, 2021 7:42 pm
Forum: General Discussion
Topic: Scriptable object reference not saved
Replies: 29
Views: 6735

Re: Scriptable object reference not saved

I quickly put together a project mimicking what I'm doing (exact same code) but it works properly there :-( I also don't get the bracket error. So either there's something corrupt in my ES3 on my main project, or there's some ES3 components interfering with the save somehow. I'm going to roll back m...
by funtomata
Tue Feb 23, 2021 6:42 pm
Forum: General Discussion
Topic: Scriptable object reference not saved
Replies: 29
Views: 6735

Re: Scriptable object reference not saved

Hi there, You appear to be saving the data with the key "test", but trying to load it with the guid as the key. You need to use the same key to load as you used to save. All the best, Joel It's a copy paste error in the forum post, I fixed it now, but my code was correct. Still doesn't wo...
by funtomata
Tue Feb 23, 2021 5:39 pm
Forum: General Discussion
Topic: Scriptable object reference not saved
Replies: 29
Views: 6735

Re: Scriptable object reference not saved

I also have problems with saving another scriptable object which contains a list of items (my inventory SO) My character has an inventoryManager monobehaviour which references that inventory. Here's the code for both: public class Inventory : ScriptableObject { [SerializeField] private string guid =...
by funtomata
Tue Feb 23, 2021 4:48 pm
Forum: General Discussion
Topic: Scriptable object reference not saved
Replies: 29
Views: 6735

Scriptable object reference not saved

Hi, I just got started with Easy Save so I'm probably doing everything super wrong. So on my scene, some objects have an "interactable" component, witch references an "InteractionState" scriptable object. That InteractionState is updated at runtime when some stuff happens in the ...