Original Post — Direct link

How do you do this? When I try to stream in a sublevel which has its own sublevels, only the sublevel's persistent root is loaded. I read something about how you have to load the sub-sub-levels manually, but then will it still stream? How do you do that anyway? Do you stream them in the main sublevel's BeginPlay?

  • Root Persistent Level

    • Sublevel A

      • Sub-Sublevel 1 (this won't load when A is streamed into Root)
    • Sublevel B

    • Sublevel C

External link →
over 4 years ago - /u/WC_Jesse - Direct link

Originally posted by bsabiston

Yeah I have to unload the sub-sub levels the same way I load them - manually just before I stream unload the sub level.

But then there is no real benefit to them being sub-sub-levels, is there? Unreal doesn’t really support that so you might be working around a problem that works in editor but will come back to bite you later, like after cooking your game or something. Or creates weird logic bugs that might not be obvious.

over 4 years ago - /u/WC_Jesse - Direct link

Originally posted by bsabiston

What do you mean "Unreal doesn't really support that"? Is there somewhere they say NOT to do that? Just because sublevels do not stream in automatically doesn't mean you can't or shouldn't stream in sub-levels...?

The benefit is that different parts of a level can be checked out and worked on by different people simultaneously. Sure, down the line there might be some problem. But I've read that that's how other people do it.

Talking about sub-levels that are themselves persistent levels with their own sub-levels... so a multiple persistent sub-level hierarchy.

Here is the official response to your idea above which is that it is not supported without code changes: https://udn.unrealengine.com/questions/326400/nesting-sub-levels-inside-of-sub-levels.html

So while your workaround may be working, it is not how the engine is designed out of the box so all I am saying is that you seem to be doing something that could have corners and edge cases that are undocumented and not well explored by others.