Ok, so here is my script, its on a trigger. When I hit said Trigger, scene 1 (the one I’m on) then loads up again, instead of scene 2. I have no other scripts with LoadLevel on them in the area… Any ideas?? And I double checked the “build settings” and made sure.
#pragma strict
function Start() {
}
function OnTriggerEnter(){
yield WaitForSeconds(2); Application.LoadLevel(2);
}
Close this please. I’m a dork. the issues was: My current scene was not in my build settings (because I re-named it) So for some reason that was effecting the trigger script. And it was re loading the current scene under a different name. Not sure why and how that would happen though.