how to make persistent level?

Hi
I need background music playing across levels without gaps or restarting and from other threads I know I should use persistent level for that. But how do I make/flag level as persistent in 4.5.1?

You would simply create you’re initial level. This with all regards will be your Persistent level. Then you will need to go up to the Menu bar > Window > Levels. This will bring a pop-up window that will list all your levels. The level you just created will be listed as Persistent here. Then in this window you can create additional levels or import other ones that you can apply objects or events in these sub-levels.

Feel free to ask any questions if you get stuck or there is any confusion. :slight_smile:

Tim

ok, thanks. done some experimenting with levels window and now I see this error when launching editor:
Failed to load map!
…/…/…/…/…/…/ueProjects/Ninja/Content/Maps/run_map.umap appears to be an asset file.

Restored map from backup and music is playing seamless across levels but now it looks like all levels are loaded simultaneously? I had this idea that I’m gonna display map with main menu then with intro and then run the actual game but now all are loaded when launching ‘persistent’ map

Got it working properly, I think ‘enable world composition’ in world settings was causing this, thanks for your help!

Hi Laggluk,

Glad you got it working. If you run into any issues feel free to ask and I’ll help out! :slight_smile:

Tim

Hi there, I’m attempting to create persistent level at the moment.

It works for me, but I’m stuck on a few things at the moment:

  1. What are the implications of building light across levels, what is a good setup? ( e.g Lights only in master level ? )
  2. Does the lights of different level affect one another?
  3. Would a pre-built lights of another level carried into another level work correctly without rebuildling it again by the Persistent Level.

Hey
I don’t really know and you should ask this as new question, this one was already answered so not meny ppl will see your coment

@Frozenfire:

Take a look at this thread for sample project I provided.

I’ll gladly answer your questions, but Laggyluk is right that this should be asked as a separate question.

Make sure to post a link back here for your new question and I’ll assign myself to it and be able to go into more detail.

  1. This would require a in-depth response for how these will affect each other.
  2. yes and no (depends on setup)
  3. depends on your setup, but yes that should work. (that is how I did the sample project for the day/night switch linked above)

Tim