Hello, I am making an rpg and I am storing the “base” item and character data in scriptable objects. That is the fixed data I don’t want to be changed during run time and works fine.
Now I want to save the game progress, including the inventory contents and what characters are in the players party. I need to save some kind of reference that would allow me to, when loading saved game data, read some kind of identifier and get access to the scriptable object that contains the properties of the item or character.
I am considering using the name of the scriptable object as an identifier or adding an identifier field to the scriptable objects. However, that sounds prone to failure as it implies manual management.
Is there a better way? Are instanceIDs reliable identifiers though differente builds?