Hi, so I started making a system in my singleplayer game that loads a level out of 4 seperate levels (farm, shop etc.) at players command, but I quickly got overwhelmed by the amount of different techniques that can be used to load and unload levels. What would be the best solution to make this system? Thanks in advance.
If you mean you have different maps that you want to load and unload on command and in various combinations, Streaming is what you are looking for.
If you always want one level at a time, use the simplest Open Level. Just be aware it’s the simplest and least supported system, with little exposed control.
If you are making an open world with vast exteriors, use the new World Partition system.
I also worked on projects with a mixed Streaming and Open Level approach. Different big levels were opened with Open Level, while their “chunks” were streamed. I don’t recommend it, though—you have to handle two systems at the same time.
It’s 4 small, completely seperate from each other levels that i want the player to be able to travel to, if it’s easier to combine them into just one world it’s all good coz I haven’t finished them yet.
Ok, read about first two options and choose whatever you like more.
To have it as quickly running as possible use the second one, but I think it will pay off to learn and use streaming. It’s just more flexible as project goes forward.