I have a master persistent level with a bunch of sublevels that I stream in and out. These sublevels, if I open them in the editor, show up as persistent and have their own sublevels attached.
But when I stream in a sublevel from my main persistent level, the sublevel’s sublevel does not load, even though itare marked as ‘initially loaded’ and ‘initially visible’. How can I make sure the sublevel’s children are loaded when I stream it in?
Root (persistent) level
Sublevel 01 (streaming, loads on demand)
Sub-sublevel (does not load)
Sublevel 02 (streaming, loads on demand)
I just got it to work, actually. Like I read somewhere, you can manually stream in the sub-sub levels in the BeginPlay event of your sublevel. So, in my example, an object in SubLevel A calls LoadStreamLevel on Sub-Sublevel 1. Seems to work ok.
I could only made this work by having the sub-sub-level to load as a sublevel on the main level. (defeats the purpose).
There’s also this technique, apparently one of the examples could be used to load a level that is not already loaded. or instancing (it only works if the level is not already added to levels tool window)