# Streaming Level ShouldBeVisible Lag

**URL:** <https://forums.unrealengine.com/t/streaming-level-shouldbevisible-lag/791345>\
**Category:** C++\
**Tags:** lag, Level-Streaming, unreal-engine, streaming, level, CPP, question\
**Created:** [March 15, 2023, 1:37pm UTC](https://forums.unrealengine.com/t/streaming-level-shouldbevisible-lag/791345 "2023-03-15T13:37:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zssork](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zssork/32/629783_2.png) [@Zssork](https://forums.unrealengine.com/u/Zssork)\
**Post date:** [March 15, 2023, 1:37pm UTC](https://forums.unrealengine.com/t/streaming-level-shouldbevisible-lag/791345/1 "2023-03-15T13:37:33Z")

</div>

Hi, i want to add a streaming level to be loaded in the background. I am using a `ULevelStreamingDynamic` StreamingLevel and add it with `World->AddStreamingLevel(StreamingLevel);`. I then hide the level again after loading all at the start. So i am only showing the streaming level with `SetShouldBeVisible(true);`. But the frame rate drops quite significantly (80 about 30 frames in editor). Frame drops also happen in the build game … How can i improve the performance here? I tried to change. I tried to play with the streaming project settings but i see no impact with these. I would expect showing already loaded levels should be possible without any frame drops.

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/5/da52a148b6e8ecc72dc6644419d96bee4f064cb8.png)

---

<div class="post-metadata">

**Author:** ![thejturner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thejturner](https://forums.unrealengine.com/u/thejturner)\
**Post date:** [March 15, 2023, 2:33pm UTC](https://forums.unrealengine.com/t/streaming-level-shouldbevisible-lag/791345/2 "2023-03-15T14:33:42Z")

</div>

I’ve been having the same issue. The only thing that seems to improve things for me is to subdivide levels even further so there are less actors to process at a time. It seems more dependent on the number of actors than the complexity of those actors.

---

<div class="post-metadata">

**Author:** ![thejturner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thejturner](https://forums.unrealengine.com/u/thejturner)\
**Post date:** [March 15, 2023, 2:37pm UTC](https://forums.unrealengine.com/t/streaming-level-shouldbevisible-lag/791345/3 "2023-03-15T14:37:07Z")

</div>

I would combine more actors, to reduce even further, but then that defeats the point of lumen, which breaks down when combining too many actors and the resulting meshes are too complex.

---

<div class="post-metadata">

**Author:** ![Zssork](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zssork/32/629783_2.png) [@Zssork](https://forums.unrealengine.com/u/Zssork)\
**Post date:** [March 15, 2023, 2:53pm UTC](https://forums.unrealengine.com/t/streaming-level-shouldbevisible-lag/791345/4 "2023-03-15T14:53:54Z")

</div>

i dont care if it takes a couple of seconds to load … would be great if there was an option to just spread the loading across a longer span of time but then without lag. Defnetly dont want to hack it and start combining actors

---

<div class="post-metadata">

**Author:** ![Zssork](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zssork/32/629783_2.png) [@Zssork](https://forums.unrealengine.com/u/Zssork)\
**Post date:** [March 15, 2023, 7:54pm UTC](https://forums.unrealengine.com/t/streaming-level-shouldbevisible-lag/791345/5 "2023-03-15T19:54:05Z")

</div>

Im using these settings now and it is running a lot better

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/7/c4778b4d19a0edfe398bcf8d82f7ba081c5c9c00.png)

---

<div class="post-metadata">

**Author:** ![FutureCake](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/futurecake/32/1085599_2.png) [@FutureCake](https://forums.unrealengine.com/u/FutureCake)\
**Post date:** [November 5, 2024, 11:07pm UTC](https://forums.unrealengine.com/t/streaming-level-shouldbevisible-lag/791345/6 "2024-11-05T23:07:30Z")

</div>

That fixed it for me. Thank you! (By the way, for anyone reading this, you have to try it out in standalone mode or a packaged build after setting these settings. They didn’t help with the hitch inside the editor for me. However, just the packaged build counts really.)
