Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: blackant on March 12, 2013, 09:22:03 AM
-
is it possible to stop unity when it happen?
-
From what I've seen it stops itself.
-
not this time ...
try to do something,
in first state, put a compare action
if 0=0 go back to state 1.
i made something like that...
forced to stop unity by Ctrl+alt+supp
-
Odd, the once or twice I've done it I recall either PM or Unity catching the loop and pausing the game.
You could probably get out of that loop with a switch.
-
Yeah, I've noticed that the infinite loop detection doesn't seem to be kicking in afaik... but, maybe that's how the systems I have are set up.
If you're worried, a good practice for the debugging stage that i use to help prevent an infinite loop from bogging down my computer is to add in a "next frame event" set to "finished" in every state that just uses a finished to click over to the next one. It doesn't stop the infinite loop from occouring but it does give your comp some breathing room so that it's easier to stop the preview when it occours.
-
thanks for the tip, should be nice.