Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

press play, game objects get deleted, game breaks.

$
0
0
okay so i just finished this script here #pragma strict var maxfalldistance = -10; function Update () { if (transform.position.y <= maxfalldistance) ( Debug.Log("test") ); ( Application.LoadLevel("level 1") ); } with no errors in console. i them press play to test my level and all my game objects get deleted and my game ceases to work. after i stop all my game objects come back, still with no errors. as these pictures show ![alt text][1] ![alt text][2] [1]: /storage/temp/31470-screenshot+2014-08-24+20.09.51.png [2]: /storage/temp/31471-screenshot+2014-08-24+20.09.55.png this is a bug that seems to run in the unity engine but might have something to do with the script. can anyone help?

Viewing all articles
Browse latest Browse all 7934

Trending Articles



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