Best way to load/unload levels in a massive world?

Galactic Samurai
Wed, 06 Mar 2019 20:29:57 +0000
World Creation

So I have a world that’s made up of 5000 levels but I only want the player to see one level at a time.

Here are some ideas I’ve tried that aren’t working…

-World Composition Streaming-

Right now I’m using World Composition and a Streaming Distance of 1, so I can see all levels at once in the viewport but only one when I play. So when the player reaches the level border it unloads it and loads a new one, because the Streaming Distance is so low. Problem is, the Streaming Distance is centered around the camera and not the player and I don’t think I can change that; so the player walks into the abyss before the camera catches up.

-Basic Level Streaming-

I’ve also tried basic level streaming where all the levels overlap and the one Persistent Level has triggers/teleporters on each border that just teleports the character to the opposite side and loads/unloads specific levels I ask it to, but I want to see the whole world at once and work with thousands of levels (which makes that manual name input impossible). So World Composition is definitely the way to go, it just adds other issues.

Any ideas?

1 post - 1 participant