Description

Crash occurs when the user adds a sublevel to the current level, edits the sublevel's level blueprint, and then attempts to make a new level.

The state which triggers the crash seems to be when the sublevel is saved, but the main level is not, which results in a prompt to save it on creating the new level.

See https://udn.unrealengine.com/questions/551087/old-world-not-cleaned-up-by-garbage-collection-rel.html

Steps to Reproduce
  1. Create and open a blank blueprint project.
  2. Save the current level.
  3. Open the Levels window.
  4. From the Levels window, select Levels > Create New, and select Empty Level.
  5. Give a name and Save the level (this will create a sublevel to your current level).
  6. In the Main Editor Toolbar, select Blueprints > Sublevels > Edit <Sublevel Level Blueprint>.
  7. Add a variable and Compile and Save.
  8. Go to File > New Level, select Default.
  9. When prompted, save the current level.

RESULT

Crash

Callstack
Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Editor/UnrealEd/Private/EditorServer.cpp] [Line: 1992] 
World Memory Leaks: 3 leaks objects and packages. See The output above.


KERNELBASE.dll!UnknownFunction []
UE4Editor-Core.dll!ReportAssert() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsplatformcrashcontext.cpp:1341]
UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowserroroutputdevice.cpp:79]
UE4Editor-Core.dll!FOutputDevice::LogfImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:71]
UE4Editor-UnrealEd.dll!UEditorEngine::CheckForWorldGCLeaks() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorserver.cpp:1994]
UE4Editor-UnrealEd.dll!UEditorEngine::EditorDestroyWorld() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorserver.cpp:2115]
UE4Editor-UnrealEd.dll!UEditorEngine::Map_Load() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorserver.cpp:2469]
UE4Editor-UnrealEd.dll!UEditorEngine::HandleMapCommand() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorserver.cpp:6106]
UE4Editor-UnrealEd.dll!UEditorEngine::Exec() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorserver.cpp:5586]
UE4Editor-UnrealEd.dll!UUnrealEdEngine::Exec() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\unrealedsrv.cpp:696]
UE4Editor-UnrealEd.dll!FEditorFileUtils::LoadMap() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\filehelpers.cpp:2466]
UE4Editor-LevelEditor.dll!FLevelEditorActionCallbacks::NewLevel() [d:\build\++ue4\sync\engine\source\editor\leveleditor\private\leveleditoractions.cpp:226]
UE4Editor-LevelEditor.dll!TBaseStaticDelegateInstance<void __cdecl(void)>::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:854]
UE4Editor-Slate.dll!FUICommandList::ExecuteAction() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:102]
UE4Editor-Slate.dll!SMenuEntryBlock::OnClicked() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1059]
UE4Editor-Slate.dll!SMenuEntryBlock::OnMenuItemButtonClicked() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1019]
UE4Editor-Slate.dll!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:293]
UE4Editor-Slate.dll!SButton::ExecuteOnClick() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:385]
UE4Editor-Slate.dll!SButton::OnMouseButtonUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:304]
UE4Editor-Slate.dll!SMenuEntryButton::OnMouseButtonUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:386]
UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_6c1f6b862bcfb82ea6dcab28fbcc9463> >() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:372]
UE4Editor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4617]
UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5140]
UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5108]
UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1958]
UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2410]
UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1638]
UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:789]
USER32.dll!UnknownFunction []
USER32.dll!UnknownFunction []
UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:130]
UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:4397]
UE4Editor.exe!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:173]
UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor.exe!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:263]
UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
KERNEL32.DLL!UnknownFunction []
ntdll.dll!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-87506 in the post.

2
Login to Vote

Fixed
ComponentGameplay
Affects Versions4.24
Target Fix4.24.3
Fix Commit11178003
Main Commit11179276
Release Commit11178003
CreatedJan 27, 2020
ResolvedJan 30, 2020
UpdatedMar 4, 2020