I actually need to check if the item is same as self.
I’ve have so many different setups I lost count. One of the setups had the ‘self’ returning null. Which is the weirdest thing so far. I then circumvent this by dumping the self and pass in via actor.
Eventually I found the most critical part which is during the ForEachLoop the element is returning ‘empty’ . Although manually getting the Element Via index returns correctly.
This is getting weirder by the minute.
In your loop, the exec wire continues after your set “temp int” which means that this line is not finished to execute : maybe what is done after (which is done before the completed and done on each index) is the trouble. Especially if you link to the same point than the other exits (false branch and print string output)
Only an add idea : You may be can simplify by using a “find” / is valid / “get” from find output. (but it will select the first index in the array, not sure if this ok for your situation, you’ll need to change the append text.)
If not, you can use loop with break instead of loop to link break after your set “temp int” and use completed when done instead of doing all the array.