Using GetAllActorsOfClass? Then use much simple TActorRange class to iterate over actors.

Say Thanks project: https://cutt.ly/tnks