Infinite loop in branch? Infinite loop error bug

try to break your code into fewer parts, i believe it the while loop that causing the issue and add some print string to see how many times you are actually looping.

for example, only test the while loop first, if it does x10 print string, then you can test further with the first for loop…

all your loop in the same execution line get add together including ue5 default macro for loop, that why the error pop up there because it reach the limit of iteration.

1 Like