This loop should never fire infinitely. However, if you call it in PIE it throws an infinite loop detected error. If you call it in editor, it will just add 118 integers to Int Array then quit, when it should add 200 elements to Int Array (4 sets of 0-49). What’s going on here?
I attached a copy of the uasset if anyone wants to drop it into their content folder to test it out.
Okay now check this out. Instead of calling the custom events I instead connected the wire’s directly into the nodes flow that they call. And now it no longer is detected as an infinite loop and the Array is filled as expected.
so I guess spaghetti is on the menu