Developer Notes

This crash no longer occurs on 4.14

Description

Crash when trying to swap out a material with in a merged actor with LODs. The editor crashes when trying to change the material for the merged actor with LODs

Steps to Reproduce
  1. Download the attached project
  2. Open "SM_MERGED_BulkCarrier_Pipelines_Fence_01" in the static mesh editor
  3. Change the material under LOD1 to anything other than "WorldGridMaterial"
  4. Notice that the editor crashes

Expected: The material for the LOD1 would be swapped out for the material chosen from the drop down
Result: The editor crashes when trying to change the material for the merged actor with LODs

Callstack
UE4Editor_StaticMeshEditor!FMeshSectionSettingsLayout::OnMaterialChanged() staticmesheditortools.cpp:1337 
UE4Editor_StaticMeshEditor!TBaseSPMethodDelegateInstance<0,FMeshSectionSettingsLayout,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:317 
UE4Editor_StaticMeshEditor!TBaseSPMethodDelegateInstance<0,FMeshSectionSettingsLayout,0,void __cdecl() delegateinstancesimpl.h:424 
UE4Editor_PropertyEditor!TBaseDelegate<void,UMaterialInterface * __ptr64,UMaterialInterface * __ptr64,int,bool>::ExecuteIfBound() delegatesignatureimpl.inl:608 
UE4Editor_PropertyEditor!FMaterialItemView::ReplaceMaterial() propertycustomizationhelpers.cpp:785 
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,FMaterialItemView,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:317 
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,FMaterialItemView,0,void __cdecl() delegateinstancesimpl.h:424 
UE4Editor_PropertyEditor!SPropertyEditorAsset::SetValue() spropertyeditorasset.cpp:563 
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyEditorAsset,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:317 
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyEditorAsset,0,void __cdecl() delegateinstancesimpl.h:424 
UE4Editor_PropertyEditor!SPropertyMenuAssetPicker::OnAssetSelected() spropertymenuassetpicker.cpp:232 
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyMenuAssetPicker,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:317 
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyMenuAssetPicker,0,void __cdecl() delegateinstancesimpl.h:424 
UE4Editor_ContentBrowser!SAssetView::AssetSelectionChanged() sassetview.cpp:3420 
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:317 
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,void __cdecl() delegateinstancesimpl.h:424 
UE4Editor_ContentBrowser!TBaseDelegate<void,TSharedPtr<FAssetViewItem,0>,enum ESelectInfo::Type>::ExecuteIfBound() delegatesignatureimpl.inl:608 
UE4Editor_ContentBrowser!SListView<TSharedPtr<FAssetViewItem,0> >::Private_SignalSelectionChanged() slistview.h:638 
UE4Editor_ContentBrowser!STableRow<TSharedPtr<FAssetViewItem,0> >::OnMouseButtonUp() stablerow.h:449 
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() slateapplication.cpp:4901 
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() slateapplication.cpp:215 
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:4890 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5348 
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5328 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1584 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:1930 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:747 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:669 
user32!<Unknown> 
user32!<Unknown> 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:905 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2788 
UE4Editor!GuardedMain() launch.cpp:156 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:202 
UE4Editor!__scrt_common_main_seh() exe_common.inl:264 
kernel32!<Unknown> 
ntdll!<Unknown> 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-36207 in the post.

22
Login to Vote

Cannot Reproduce
ComponentTools
Affects Versions4.13
CreatedSep 20, 2016
ResolvedSep 22, 2016
UpdatedApr 27, 2018
View Jira Issue