Display a warning when a loop will freeze UE


#1

I sometimes find myself forgetting to include a _wait coroutine in a loop that has no exit condition.
When running such a loop, UE freezes or crashes.

I believe that a warning should be displayed for any loop without a _wait that also has no exit condition, as this is guaranteed to lock up UE. This would be helpful to beginners who are learning SK by making such an easy mistake less punishing.


#2

I agree.

We would like to make both the SkookumScript parser give an upfront warning and allow a runtime debug recovery mechanism.

The runtime mechanism is probably even more useful since you could still have an infinite loop with an exit if the exit logic is never triggered.