How to get all actors of class in all loaded levels?

My game state attempts to assemble a list of all actors of a given class. Unfortunately it seems that the GetAllActorsOfClass node only considers the persistent level so actors on the loaded levels are overlooked. How could I get all the actors on all loaded levels?


Did you figure this one out? I have the same problem.


I haven’t found a direct solution I’m afraid. My workaround right now is that I moved the search logic to the level blueprints: When a level is streamed in then its BeginPlay event is fired so I do the search there then pass the found actors to my custom game state BP using an interface call.