Knowledge base
Knowledge base
Knowledge base
Free, anonymous browsing of Unreal Engine Blueprint examples, node references, and best practices. The same content the WoalzCraft plugin uses to generate Blueprints.
20 results for while
Macro. WARNING: can cause infinite loop if condition never becomes false.
WhileLoopUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoRuns the loop body as long as the condition stays True. Use carefully — an always-true condition hangs the game.
string
Why: Function '{fn}' contains a ForLoop or WhileLoop whose condition is never reached or whose body never updates the counter. The game will freeze when this code runs. Fix: If WhileLoop: ensure the body modifies the condition variable so eventually the condition becomes false. If ForLoop: check the Index range — Last Index must be >= First Index. Add a Print String of the index inside the loop body so you can see if it's actually iterating.
OR=BooleanOR, NOT=Not_PreBool, XOR=BooleanXOR
ANDUE 5.4, 5.7updated 2mo agoLess_FloatFloatUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoBooleanANDUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoDoNUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoBooleanORUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoExec outputs: 'Loop Body' (fires each iteration) and 'Completed' (fires after last iteration).
ForLoopUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo ago