So I'm writing a function in Unity3D that walks a rectangular grid. At one place in the code, I got the x+y coordinates backwards, which caused the function to infinitely loop between two coordinates.

Not seeing a way to kill the loop, I looked it up on Google. The suggestions I get are. . .

1. You need to kill the Unity3D task and lose your edits because the environment and the player run on the same thread.
2. You can pay ten bucks for an extension that lets you break out of infinite loops.
3. You should really avoid writing infinite loops. That's just bad form.


  • 0
    Mhhwwhaaahhaaaa!!! Sry crappity 3D im sooo sry 4 U! Fr0z3n p4n1c rofl rofl! Whre ken i donate u zom 5 bugz for de battn??!
Add Comment