Does anyone know why sometimes I jump over scenes. The loading scene code is : Code (JavaScript): var levelToLoadString : String; function OnTriggerEnter () { Application.LoadLevel (levelToLoadString); } It Loads the scene and than Jumps To the next one; Every Scene got a door with this script and a Spawining Point with this code : Code (JavaScript): function Start(){ var player = GameObject.Find("Player"); var spawn_point = GameObject.Find("Spawn Point").transform.position; player.transform.position = spawn_point; } what could it be?
Most likely something is entering the trigger immediately and then loads the next scene.Debug.Log the names of the objects causing the trigger enter.