ARK Survival Evolved Dev Tracker

(2019) Anyone use streaming levels where the sublevels have their own sublevels? A hierarchy of levels?

This thread was added on October 04, 2019, with posts from WC_Jesse.

Original Post

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

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.

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.