Description

Crash when using save all, when there is a 3D widget on an invisible sublevel

Steps to Reproduce
  1. Open the attached project
  2. Open "LevelPersistent"
  3. In the levels tab, make sure that "LevelGameplay" is visible
  4. Move "BP_WidgetSpawner"
  5. Set "LevelGameplay" to invisible (on the levels tab)
  6. Use Ctrl+S to save all
  7. Notice that the editor crashes

Expected: The level would save the changes
Result: The editor crashes when trying to save all

Callstack
MachineId:EA8CDCD54E3691A62F8838A5364B34C6
EpicAccountId:6003a092eb5e4d259eb50cf2c6e341d2

Access violation - code c0000005 (first/second chance not available)

UE4Editor_Engine!UMaterialInstance::SetTextureParameterValueInternal() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\materials\materialinstance.cpp:2252]
UE4Editor_Engine!UMaterialInstanceDynamic::SetTextureParameterValue() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\materials\materialinstancedynamic.cpp:50]
UE4Editor_UMG!UWidgetComponent::ApplyComponentInstanceData() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\umg\private\components\widgetcomponent.cpp:894]
UE4Editor_Engine!FComponentInstanceDataCache::ApplyToActor() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\componentinstancedatacache.cpp:261]
UE4Editor_Engine!AActor::ExecuteConstruction() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\actorconstruction.cpp:521]
UE4Editor_Engine!AActor::FinishSpawning() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\actor.cpp:2746]
UE4Editor_Engine!UChildActorComponent::CreateChildActor() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\components\childactorcomponent.cpp:361]
UE4Editor_Engine!UActorComponent::ExecuteRegisterEvents() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:1094]
UE4Editor_Engine!UActorComponent::RegisterComponentWithWorld() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:863]
UE4Editor_Engine!AActor::IncrementalRegisterComponents() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\actor.cpp:3969]
UE4Editor_Engine!ULevel::IncrementalUpdateComponents() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\level.cpp:933]
UE4Editor_Engine!UWorld::PreSaveRoot() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\world.cpp:727]
UE4Editor_CoreUObject!UPackage::Save() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\coreuobject\private\uobject\savepackage.cpp:3284]
UE4Editor_UnrealEd!UEditorEngine::Save() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\editorengine.cpp:3891]
UE4Editor_UnrealEd!UEditorEngine::SavePackage() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\editorengine.cpp:3948]
UE4Editor_UnrealEd!UEditorEngine::Exec_Obj() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\editorserver.cpp:4441]
UE4Editor_UnrealEd!UEditorEngine::Exec() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\editorserver.cpp:5535]
UE4Editor_UnrealEd!UUnrealEdEngine::Exec() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\unrealedsrv.cpp:744]
UE4Editor_UnrealEd!SaveWorld() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\filehelpers.cpp:532]
UE4Editor_UnrealEd!FEditorFileUtils::SaveMap() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\filehelpers.cpp:2218]
UE4Editor_UnrealEd!InternalSavePackage() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\filehelpers.cpp:2612]
UE4Editor_UnrealEd!FEditorFileUtils::PromptForCheckoutAndSave() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\filehelpers.cpp:3142]
UE4Editor_UnrealEd!InternalSavePackages() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\filehelpers.cpp:2728]
UE4Editor_UnrealEd!FEditorFileUtils::SaveDirtyPackages() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\filehelpers.cpp:2842]
UE4Editor_MainFrame!FMainFrameActionCallbacks::SaveAll() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\mainframe\private\frame\mainframeactions.cpp:226]
UE4Editor_MainFrame!TBaseStaticDelegateInstance<void __cdecl(void)>::ExecuteIfSafe() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:1021]
UE4Editor_Slate!FUICommandList::ConditionalProcessCommandBindings() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:206]
UE4Editor_Slate!FUICommandList::ProcessCommandBindings() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:150]
UE4Editor_MainFrame!FMainFrameActionCallbacks::OnUnhandledKeyDownEvent() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\mainframe\private\frame\mainframeactions.cpp:174]
UE4Editor_MainFrame!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter_ExplicitReturnType<FReply,FReply (__cdecl*const & __ptr64)(FKeyEvent const & __ptr64),FKeyEvent const & __ptr64>() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\tuple.h:128]
UE4Editor_MainFrame!TBaseStaticDelegateInstance<FReply __cdecl(FKeyEvent const & __ptr64)>::Execute() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:952]
UE4Editor_Slate!TBaseDelegate<FReply,FKeyEvent const & __ptr64>::Execute() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:521]
UE4Editor_Slate!FSlateApplication::ProcessKeyDownEvent() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4243]
UE4Editor_Slate!FSlateApplication::OnKeyDown() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4147]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1345]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1850]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:745]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:667]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:903]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2729]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\launch.cpp:148]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentTools - UMG
Affects Versions4.12.4
Target Fix4.13
Fix Commit3046165
Main Commit3050870
CreatedJul 6, 2016
ResolvedJul 12, 2016
UpdatedMay 2, 2018