I want to get all actors in UE5 single level with code below, but some staticmesh actor was unloaded cause of UE5’s world partition( cell based streaming). Is there any other way to get all staticmehs actors in the level?
for(TActorIterator It(World, ActorClass); It; ++It)
I am using GetAllActorsOfClass for all staticmesh actor, it works in UE4‘s level, but in UE5, some staticmesh actor was unloaded(they are far from our view) cause cell based streaming. I want to get all staticmesh actors in the level.
Same issue for me (ie. load a level manager by the World Partition and browse all the actors without streaming consideration).