# How to check Persistent Level is Loaded

**URL:** <https://forums.unrealengine.com/t/how-to-check-persistent-level-is-loaded/1903960>\
**Category:** Blueprint\
**Tags:** Level-Streaming, open-level, unreal-engine, question\
**Created:** [June 15, 2024, 9:00am UTC](https://forums.unrealengine.com/t/how-to-check-persistent-level-is-loaded/1903960 "2024-06-15T09:00:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![turbotanaka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@turbotanaka](https://forums.unrealengine.com/u/turbotanaka)\
**Post date:** [June 15, 2024, 9:00am UTC](https://forums.unrealengine.com/t/how-to-check-persistent-level-is-loaded/1903960/1 "2024-06-15T09:00:18Z")

</div>

I’m trying to use Level Streaming to switch maps after OpenLevel in order to get multiple Gamemodes working.  
However, Level Streaming requires that the Persistent Level has been completely loaded, and Level Streaming will fail if run in not loaded.  
To address this problem I’m currently inserting a very short Delay, but this is not a good solution.  
Therefore I would like to know how to check if the Persistent Level has been completely loaded.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 15, 2024, 9:20am UTC](https://forums.unrealengine.com/t/how-to-check-persistent-level-is-loaded/1903960/2 "2024-06-15T09:20:38Z")

</div>

So you’re using ‘open level’ to open the persistent? Are the stream levels not ready immediately after that?

---

<div class="post-metadata">

**Author:** ![turbotanaka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@turbotanaka](https://forums.unrealengine.com/u/turbotanaka)\
**Post date:** [June 15, 2024, 12:16pm UTC](https://forums.unrealengine.com/t/how-to-check-persistent-level-is-loaded/1903960/3 "2024-06-15T12:16:29Z")

</div>

Yes, I use the Open Level for Persistent.  
Level Streaming wasn’t working properly, so I investigated the cause and found that I needed to insert a Delay after Open Level.  
Level Streaming was done right after Open Level, so I guessed it was because Persistent wasn’t ready.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 15, 2024, 12:31pm UTC](https://forums.unrealengine.com/t/how-to-check-persistent-level-is-loaded/1903960/4 "2024-06-15T12:31:38Z")

</div>

I think you’re right. I’ve always had the persistent as constantly loaded by default.

But I assume you have a lot of stuff to load, and need more than one persistent?

If you’re going to stream a particular sublevel, you could async load it first ( which you do get a notification from ), and then call your streaming?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/7/507b9d3e959620a9e08e4cf459adcfc28594f358.png)

I must admit, I don’t know how to go from ‘Object’ to the streaming level ref ( hence the name twice ), but this works for me.

---

<div class="post-metadata">

**Author:** ![turbotanaka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@turbotanaka](https://forums.unrealengine.com/u/turbotanaka)\
**Post date:** [June 15, 2024, 12:50pm UTC](https://forums.unrealengine.com/t/how-to-check-persistent-level-is-loaded/1903960/5 "2024-06-15T12:50:36Z")

</div>

I see, so instead of checking if the Persistent Level is loaded, it tries to load the Sub Levels and see if it succeeds.  
This seems like it’s going to work really well.  
Thank you for your very helpful answer!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 15, 2024, 12:51pm UTC](https://forums.unrealengine.com/t/how-to-check-persistent-level-is-loaded/1903960/6 "2024-07-15T12:51:25Z")

</div>

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