Save and load ScriptableObject
Posted: Tue Jun 16, 2020 7:07 am
Hi there,
I just integrated ES3 into my game and everything works fine except the scriptableObject type.
The player gameobject of my game contains several child character objects which has their own skill trees and inventories. Those classes contain lists of scriptableObjects which are defined in the editor. I guess the es3 reference manager should have their references in this case. Also the inventory class and skill tree Class are already ES3Types.
However, I got the references issue when I was trying to save and load the entire player gameobject. I got lots of "Reference for skill xx with ID xxx could not be found in easy save's reference manager" error for those scriptableObject types.
Also, If I save and load without restart the game in the editor, everything works fine.
I just integrated ES3 into my game and everything works fine except the scriptableObject type.
The player gameobject of my game contains several child character objects which has their own skill trees and inventories. Those classes contain lists of scriptableObjects which are defined in the editor. I guess the es3 reference manager should have their references in this case. Also the inventory class and skill tree Class are already ES3Types.
However, I got the references issue when I was trying to save and load the entire player gameobject. I got lots of "Reference for skill xx with ID xxx could not be found in easy save's reference manager" error for those scriptableObject types.
Also, If I save and load without restart the game in the editor, everything works fine.