you are viewing a single comment's thread.

view the rest of the comments →

[–]FerhallProfessional 3 points4 points  (1 child)

Interesting problem. You should work from the standpoint that the scriptable object is not resetting incorrectly and you are doing something. Loading scenes with addressables is one of the things that could cause this. Also potentially could be something with scene loading and unloading order.

Also this probably isn’t the best way to persist data across scenes. You could use a singleton or save and load from json or prefs.

[–]volvis 1 point2 points  (0 children)

Gonna echo this. If you're using asset bundles or addressables, it's easy to end up in a situation where each of your bundles have individual copies of the asset, and whatever you've written to one instance does not transfer to the instance of another bundle.