Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Unity 4.3 crashes setting objects inactive

$
0
0
Apperently Unity doesn't like to set a bunch of objects to inactive. Whenever I loop through these child objects and use setActive to turn them off, Unity Crashes to the desktop. Is this a bug or am I a victim of my own stupidity? foreach (Transform level in levels.transform) { level.gameObject.SetActive(false); }

Viewing all articles
Browse latest Browse all 2383

Trending Articles



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