Description

The editor is crashing when attempting to use the RestartLevel command if the GameInstance contains a reference to an actor that is in a streaming level. The streaming level must be loaded, but not visible.

Found in 4.14.0 CL# 3195953. Reproduced in 4.13.2 CL# 3172292 and 4.15 Main CL# 3205566.

Possibly related to [Link Removed]

Steps to Reproduce
  1. Download and open the project located at: [Link Removed]
  2. Walk into the trigger volume
  3. Press T to execute the restart level command

Result: Editor crashes

Expected: No crash would occur

Callstack

Fatal error: [Link Removed] [Line: 6484] World /Game/FirstPersonBP/Maps/UEDPIE_0_StreamingLevel1.StreamingLevel1 not cleaned up by garbage collection! (Object is not currently rooted)

UE4Editor_UnrealEd!UEditorEngine::VerifyLoadMapWorldCleanup() editorengine.cpp:6484 
UE4Editor_Engine!UEngine::LoadMap() unrealengine.cpp:9833 
UE4Editor_Engine!UEngine::Browse() unrealengine.cpp:9387 
UE4Editor_Engine!UEngine::TickWorldTravel() unrealengine.cpp:9576 
UE4Editor_UnrealEd!UEditorEngine::Tick() editorengine.cpp:1361 
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() unrealedengine.cpp:371 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2859 
UE4Editor!GuardedMain() launch.cpp:152 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:202 
UE4Editor!__scrt_common_main_seh() exe_common.inl:264 
kernel32!BaseThreadInitThunk() 
ntdll!RtlUserThreadStart() 

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.134.144.15
Target Fix4.15
Fix Commit3215539
Main Commit3227721
CreatedNov 29, 2016
ResolvedNov 30, 2016
UpdatedApr 27, 2018