I'm trying to use Async Load Asset inside a For Each loop. It doesn't work. How to load an array of objects that are soft referenced?

Hey, I know this is quite an old post, but I came into the same situation while trying to spawn items on objects’ destruction using Async Load, and I have a solution that might work for someone who could be looking into this later.

My solution was to create a macro library function that has a gate to continue the loop. I created both a for each loop and a for loop in my case. See the pictures:
See the pictures :


They’re basically the same for each and for loops, but instead of letting the sequence assign the next index, we pass it through the exec gate input, which would come after the async load has finished.

You can even nest the for loop with the gate into the for each loop with the gate by passing the complete from the for loop into the for each exec input gate.