For Each Loop / For Each Loop With Break Not Working


As you can see in the image, the exec stops in the node for each loop.

If your array is empty, then it is working fine. Otherwise, have you modified the Macro?

Print the array’s length to see if it has data before entering the Loop

Do you have a Delay anywhere in your loop? I find the BP loop functions to be dysfunctional and there are so many things that seem to “break” them that I just make my own loops now.

Thanks guys , fixed , i need the empty array at the start , all i have to do is Resize the array in ‘Begin Play’. Very strange, because i have another array and i did not have to do this

Nice! Congratulations.