Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Crash on LoadLevel (Android Project)

$
0
0
Hi. My game crashes as soon as i hit a button which sends me on to next scene, does anyone know what the problem could be? I've updated to the late version of unity3d and nothing changed. public void SetLevel(int i) { Application.LoadLevel(1); SetLevel(i); } public void SetLevel(int index) { switch(index) { case 1: ... break; case 2: ... break; } ... //Set the num of checkpoints to game control. gc.checkpointsLeft = checkpointsLeft; }

Viewing all articles
Browse latest Browse all 171066

Trending Articles



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