Question by
EhanGoosch · Feb 23, 2019 at 12:57 AM ·
scene-loadingscene-switchingdontdestroyonloadscene-changescene load
multiple of same objects from DontDesroyOnLoad
I am using an object(OBJ1) to store all my variables that I want to be carried through scenes. When I reload the scene, a copy of OBJ1(OBJ2) is made and it ruins the game. Is there a way to stop OBJ2 from being made or detect OBJ2 and destroy it?
Comment
Your answer
Follow this Question
Related Questions
changing scene not working? 0 Answers
[Unity Beginner] Game design question on scene loading and scene transitioning 0 Answers
Unity 5 Survival Shooter Crash 0 Answers
Multiple active scenes updating but not rendering? 0 Answers
How can I load a new scene without losing context of previous? 0 Answers