It’s been several times that I encounter problems regarding the level streaming in my project
I’m using level streaming because I wanted to have dynamic & professionnal looking loading screens between my levels. And the problem I’m facing right now is that when I spawn something in a level, and then change level, the thing the was spawned stay in between levels. This makes sense connsidering it was spawned on the persistent level, and I guess I need to keep track of everything that I spawn to then later kill them on the level change.
But this problem (and the others problems that I encountered before) add to the feeling that I’m not doing things how they are supposed to be. Sure, I can keep track of all that I spawn to delete them later, but that doesn’t sound right, all the “true” videogames out there are not manually deleting everything at every level change, there HAS TO be a cleaner way to do it.
Plus level streaming was intended (if Im not mistaken) to load differents parts of a same level depending on where the player is (kind of like a super occlusion culling), not for level travel.
But everywhere I look, everyone seems to be using level streaming as the go-to option for loading screens so I donn’t know.
My question here is not regarding my specific problem of objects that persits between levels, but a more general question:
Is level streaming really the “good” way to do loading screens ? And if not, what is ?