Save instances and recognize them on load
I'm trying to find a way to save GameObjects in the scene and then Load them on runtime with their data, but I can't find a way to identify each GameObject, load their data and if they are instances instantiate them again and load their respective data.
Either GetInstance() and GetHashCode() return a different ID when i build the project or if I instantiate them in a different order so I can't identify them.
What I want is to save certain objects in the scene and certain instances objects in the scene, so when i load again they are back there with their data.
Any ideas? Thanks a bunch!
Your answer
Follow this Question
Related Questions
Can someone tell me what is wrong with this script? 1 Answer
Cannot Convert from NewGame to CubeAI 0 Answers
Auto save and auto load on quit app. 1 Answer
OnApplicationQuit 2 Answers
Saving and Loading from scene to scene.. 0 Answers