Scene Change
Hi there.
I want to change the scene by hitting a trigger. That works good, but my Player only appears where i set the Player-Prefab in the new scene.
I need to take over some scriptvalues like lists and some stored gameobjects. I figured out, that i can't run/access scriptvalues or gameobjects from another scene. What is the best way to do that!?
Please search first, there are many, many duplicate posts like this; look at DontDestroyOnLoad
Answer by Ambrose998800 · Nov 17, 2015 at 08:27 PM
I made a script now for take over the other scripts. That works, can be seen by some values related to the scripts and other child gameobjects which persist during the level load. But i still have thousends of error messages: "MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it."
Your answer