Quantcast
Channel: Questions in topic: "dontdestroyonload"
Viewing all articles
Browse latest Browse all 416

When I reload my scene, why does nothing work? dontDestroyOnLoad

$
0
0
When I reload my scene or leave it and go back to it, nothing works. Player cant move, objects wont spawn etc. I think it has something to do with a dontDestroyOnLoad gameObject that gets created when I run the game. I don't actually know what this object is doing, but I think it is part of a 2D light pack I am using. How can I prevent this from breaking everything? I just simply want to reload the current scene and have everything start from the beginning. I dont have any Static variables and I only have a menu and game scene. Menu just has a start and quit. Sorry if this is a simple answer that I should know. I am quite new.

Viewing all articles
Browse latest Browse all 416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>