Replace a for each loop node


If you did this :point_up_2: and are still getting infinite loop error, IMO your problem is somewhere else. This will probably take you out of bounds in the array, but not infinite loop.

You can also go to Project Settings → Engine → General Settings → Max Loop Iteration Count and increase that number if you believe you have an array larger than 1,000,000.