A crash occurs when attempting to save a level after building static lighting for a large landscape.
I was originally investigating a memory leak issue with landscapes, and the user provided the parameters of the landscape which are what ended up causing the crash.
Note This crash does not occur if you attempt to save the level and leave the scene's lighitng unbuilt. It seems like the lightmaps and shadowmaps could be what are causing the editor to crash since they more than likely consuming a large amount of memory.
1. Create a new blank project without Starter Content.
2. Create a new landscape actor with the below specifications
3. Place Lightmass Importance Volume around landscape.
4. Select 'Build All'
5. Once building is completed, select the 'Save All' option and enter a map name if prompted.
Outcome Crash occurs during the process of saving.
Expected Crash does not occur and editor successfully saves the map.
UE4Editor_Core!FFileHandleWindows::Seek() windowsplatformfile.cpp:453
UE4Editor_Core!FArchiveFileWriterGeneric::Seek() filemanagergeneric.cpp:785
UE4Editor_CoreUObject!UStruct::SerializeTaggedProperties() class.cpp:1181
UE4Editor_CoreUObject!UObject::SerializeScriptProperties() obj.cpp:1130
UE4Editor_CoreUObject!UObject::Serialize() obj.cpp:1064
UE4Editor_Engine!UTexture2D::Serialize() texture2d.cpp:198
UE4Editor_CoreUObject!UPackage::Save() savepackage.cpp:5097
UE4Editor_UnrealEd!UEditorEngine::Save() editorengine.cpp:3966
UE4Editor_UnrealEd!UEditorEngine::SavePackage() editorengine.cpp:4026
UE4Editor_UnrealEd!UEditorEngine::Exec_Obj() editorserver.cpp:4501
UE4Editor_UnrealEd!UEditorEngine::Exec() editorserver.cpp:5596
UE4Editor_UnrealEd!UUnrealEdEngine::Exec() unrealedsrv.cpp:615
UE4Editor_UnrealEd!InternalSavePackage() filehelpers.cpp:2671
UE4Editor_UnrealEd!FEditorFileUtils::PromptForCheckoutAndSave() filehelpers.cpp:3289
UE4Editor_UnrealEd!FEditorFileUtils::SaveMapDataPackages() filehelpers.cpp:2888
UE4Editor_UnrealEd!SaveWorld() filehelpers.cpp:547
UE4Editor_UnrealEd!FEditorFileUtils::SaveLevel() filehelpers.cpp:2938
UE4Editor_UnrealEd!FEditorFileUtils::SaveCurrentLevel() filehelpers.cpp:3062
UE4Editor_LevelEditor!TBaseStaticDelegateInstance<void __cdecl() delegateinstancesimpl.h:1018
UE4Editor_Slate!FUICommandList::ExecuteAction() uicommandlist.cpp:92
UE4Editor_Slate!SToolBarButtonBlock::OnClicked() stoolbarbuttonblock.cpp:300
UE4Editor_Slate!TMemberFunctionCaller<SToolBarButtonBlock,FReply() delegateinstanceinterface.h:161
UE4Editor_Slate!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SToolBarButtonBlock,FReply() tuple.h:116
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl() delegateinstancesimpl.h:318
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() delegatesignatureimpl.inl:522
UE4Editor_Slate!SButton::OnMouseButtonUp() sbutton.cpp:275
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() slateapplication.cpp:5010
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() slateapplication.cpp:215
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:4999
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5462
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5439
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1652
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2071
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:814
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:678
user32!<Unknown>
user32!<Unknown>
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:951
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2811
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!<Unknown>
ntdll!<Unknown>
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-40210 in the post.
1 |
Component | UE - LD & Modeling - Terrain - Landscape |
---|---|
Affects Versions | 4.13.2, 4.14.2 |
Created | Jan 4, 2017 |
---|---|
Resolved | Feb 6, 2017 |
Updated | Oct 30, 2017 |