In my UE 4.27.2 FPS Game, level streaming of each sublevel is based on the player’s proximity. I want to get all the actors in a sublevel.
I have a map of the project names of all sublevels in the game .
In the begin play of a streaming sublevel, this is my current code.
Is this the correct way to do it? I want to get the Actors of class in this sublevel only when it has finished loading.
When I run it, I get zero actors in the level, whereas there should be 12. All the code before I inseted the streaming level part wroked well. What could be wrong?