How do you specify which level something gets spawned into?

I have a level and 2 sub-levels that will be streamed. I want to spawn the map in the main level and also a copy into each sub-level.

Short of putting the spawn MapGenerator BP node in the sub-level event graph, how can it be accomplished?

Also, does each streaming level have it’s own vector grid or does it just extend off the persistent level?

Dropping my generator into the sub-level to be streamed works, except once the level loads and generates the map, the tiles generated won’t unload. It seems like they are getting spawned into the persistent map even though their spawners are in the sub-level.

How do you procedurally spawn into a sub-level?

Even better, I think the generator blueprint is unloading but the map it generated isn’t. So each time I stream the level again it just generates another map, which stacks right on top the old maps and they don’t go away.

I need a way for a streamed blueprint to generate into the level it is streamed from and not to the persistent level…

I need to accomplish this as well - have you been able to find a solution?

No, but I haven’t been working in this area since then. I think you have to load and unload the main levels, but then you can’t really stream them in a seamless way.

Rama has delivered a solution: (39) Rama's Extra Blueprint Nodes for You as a Plugin, No C++ Required! - Blueprint - Unreal Engine Forums

I can test this just now, so post in his thread if it helps you out. :slight_smile: