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

Too many nested loops cause fatal error(?)

$
0
0
I have 2 nested loops, each has 9 or 10 foreach loops and if statements nested. When I try to play in editor, I get an error message that says "Fatal error! Could not allocate memory : System out of memory". I'm developing for mobile. What I have in my scene is just a few spheres and blocks. Nothing fancy to crash Unity. I think it's that nested loops that cause the problem. Do you know what may cause fatal error or did you have trouble using bunch of nested loops in Unity before?

Viewing all articles
Browse latest Browse all 182

Trending Articles



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