I am using unity 5 personal. I have a menu scene with a simple “click-to-load” button that loads my level 1. Within this level, I have pause menu that allows the user to quit, loading the menu scene. Now, the problem rises when I try to load my level 1 a second time. When the scene successfully loads, at first it all seems fine. It is visible and I can see everything. It’s just that nothing happens. For instance, I have a delay on a door that opens and shuts. This normally works, but when I load the level from the menu a second time, it suddenly doesn’t. Everything is in its right place, they just don’t move.
I have put objects with rigidbodies to test that nothing happens. When the level first loads, the fall like they should. The second time, they float in the air. I have put debug.logs in the Start() and Update() functions and they are called as normal, printing out their text. I even put these logs in the delay function, and these are called as normal.
I have no idea what is going on here, as the Application.LoadLevel(Application.LoadedLevel) works fine for resetting when the player dies. I have tried both LoadLevel and Async. Both work in the menu as they should, loadlevel loading the scene, and async progressively loading the scene. It’s just when the scene is actually loaded, nothing happens.
If you need to see any of my loading code, let me know (or anything else for that matter)
It would be great if someone could figure out how to look at my entire project
#Thanks in advance