# NULL LoadedLevel in ULevelStreaming::UpdateStreamingState() 

**URL:** <https://forums.unrealengine.com/t/null-loadedlevel-in-ulevelstreaming-updatestreamingstate/2687605>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [November 25, 2025, 6:41pm UTC](https://forums.unrealengine.com/t/null-loadedlevel-in-ulevelstreaming-updatestreamingstate/2687605 "2025-11-25T18:41:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [November 25, 2025, 6:41pm UTC](https://forums.unrealengine.com/t/null-loadedlevel-in-ulevelstreaming-updatestreamingstate/2687605/1 "2025-11-25T18:41:24Z")

</div>

Occurs when when switching maps.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [November 25, 2025, 6:41pm UTC](https://forums.unrealengine.com/t/null-loadedlevel-in-ulevelstreaming-updatestreamingstate/2687605/2 "2025-11-25T18:41:28Z")

</div>

**Steps to Reproduce**

We’ve encountered a crash between these two lines in the **ELevelStreamingState::MakingInvisible** portion of **ULevelStreaming::UpdateStreamingState()**. This occurs when switching loaded maps.

**LevelLoaded** becomes NULL’ed after the **RemoveFromWorld()** call occurs.

```auto
// Hide loaded level, incrementally if necessary
World->RemoveFromWorld(LoadedLevel, !ShouldBlockOnUnload() && World->IsGameWorld(), TransactionId, this);
 
// Hide loaded level immediately if bRequireFullVisibilityToRender is set
const bool LevelBecameInvisible = bWasVisible && !LoadedLevel->bIsVisible;

```

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/924220_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [November 25, 2025, 7:34pm UTC](https://forums.unrealengine.com/t/null-loadedlevel-in-ulevelstreaming-updatestreamingstate/2687605/3 "2025-11-25T19:34:12Z")

</div>

Can you share the crash dump and the PDB so we can review what is happening? The dump should be under Saved\Crashes\\<GUID\>\… There will likely be multiple crash report. You can look at the content of CrashContext.runtime-xml to find which one contains the right stack.

Martin

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [November 25, 2025, 6:55pm UTC](https://forums.unrealengine.com/t/null-loadedlevel-in-ulevelstreaming-updatestreamingstate/2687605/4 "2025-11-25T18:55:24Z")

</div>

We added the following between those to lines to work around the crash. If there is a better fix, please let us know. Thanks.

```auto
if (!LevelLoaded)
{
    break;
}

```

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [November 25, 2025, 7:37pm UTC](https://forums.unrealengine.com/t/null-loadedlevel-in-ulevelstreaming-updatestreamingstate/2687605/5 "2025-11-25T19:37:32Z")

</div>

I swear I included a callstack when submitting. Not sure where that went. Posting again before I lose it:

```auto
>	UnrealEditor-Engine.dll!ULevelStreaming::UpdateStreamingState(bool & bOutUpdateAgain, bool & bOutRedetermineTarget) Line 1097	C++
 	[Inline Frame] UnrealEditor-Engine.dll!FStreamingLevelPrivateAccessor::UpdateStreamingState(ULevelStreaming *) Line 816	C++
 	UnrealEditor-Engine.dll!UWorld::UpdateLevelStreaming() Line 4445	C++
 	[Inline Frame] UnrealEditor-Engine.dll!UWorld::FlushLevelStreaming::__l2::<lambda_1>::operator()() Line 4745	C++
 	UnrealEditor-Engine.dll!UWorld::FlushLevelStreaming(EFlushLevelStreamingType FlushType) Line 4761	C++
 	UnrealEditor-Engine.dll!UEngine::LoadMap(FWorldContext & WorldContext, FURL URL, UPendingNetGame * Pending, FString & Error) Line 15658	C++
 	UnrealEditor-Engine.dll!UEngine::Browse(FWorldContext & WorldContext, FURL URL, FString & Error) Line 15216	C++
 	UnrealEditor-Engine.dll!UEngine::TickWorldTravel(FWorldContext & Context, float DeltaSeconds) Line 15379	C++
 	UnrealEditor-UnrealEd.dll!UEditorEngine::Tick(float DeltaSeconds, bool bIdleMode) Line 2114	C++
 	UnrealEditor-UnrealEd.dll!UUnrealEdEngine::Tick(float DeltaSeconds, bool bIdleMode) Line 550	C++

```

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [December 2, 2025, 4:15pm UTC](https://forums.unrealengine.com/t/null-loadedlevel-in-ulevelstreaming-updatestreamingstate/2687605/6 "2025-12-02T16:15:43Z")

</div>

Unfortunately we did not save the PDB.
