How would I transition between two level instances, like in a Metroid tunnel?

I am trying to design a metroidvania. I have this tunnel blueprint that is in the parent level that will be placed around the world. What I want to happen, is that when you enter the tunnel, it de-spawns the instance behind you and loads the instance in front of you. However, I am unsure what nodes to use or how this would be properly done.

I gave it a try- it loads the map ahead, but doesn’t unload anything.


Essentially I have a trigger overlap the player, which unloads the old an loads the new. I am unsure how to get a reference to the correct instance to remove, as I can’t seem to script that before load time.

Have you tried using level streaming volumes?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.