Description

Changing the name of a physical surface that has already been applied to a physical material will cause a crash, if you try to reapply the renamed physical material from default. The physical material's window needs to be open while you change the name of the surface type.

Steps to Reproduce
  1. Open attached project
  2. Open the Phys_Metal asset in the content browser and leave the window open
  3. Open project settings and go to physics section
  4. Change the name of Surface Type 1 to anything else
  5. Go back to the Phys_Metal asset
  6. Change the Surface Type to default and then back to the Surface Type that was originally assigned (notice that it will display the old name)

RESULT
Crash

EXPECTED
The surface type is assigned correctly

Callstack

UE4Editor_PropertyEditor!SPropertyEditorCombo::SendToObjects() spropertyeditorcombo.cpp:183
UE4Editor_PropertyEditor!SPropertyEditorCombo::OnComboSelectionChanged() spropertyeditorcombo.cpp:154
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyEditorCombo,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:317
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyEditorCombo,0,void __cdecl() delegateinstancesimpl.h:424
UE4Editor_PropertyEditor!TBaseDelegate<void,TSharedPtr<FString,0>,enum ESelectInfo::Type>::ExecuteIfBound() delegatesignatureimpl.inl:608
UE4Editor_PropertyEditor!SPropertyComboBox::OnSelectionChangedInternal() spropertycombobox.cpp:104
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyComboBox,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:317
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyComboBox,0,void __cdecl() delegateinstancesimpl.h:424
UE4Editor_PropertyEditor!TBaseDelegate<void,TSharedPtr<FString,0>,enum ESelectInfo::Type>::ExecuteIfBound() delegatesignatureimpl.inl:608
UE4Editor_PropertyEditor!SComboBox<TSharedPtr<FString,0> >::OnSelectionChanged_Internal() scombobox.h:333
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SComboBox<TSharedPtr<FString,0> >,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:317
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SComboBox<TSharedPtr<FString,0> >,0,void __cdecl() delegateinstancesimpl.h:424
UE4Editor_PropertyEditor!TBaseDelegate<void,TSharedPtr<FString,0>,enum ESelectInfo::Type>::ExecuteIfBound() delegatesignatureimpl.inl:608
UE4Editor_PropertyEditor!SListView<TSharedPtr<FString,0> >::Private_SignalSelectionChanged() slistview.h:638
UE4Editor_PropertyEditor!STableRow<TSharedPtr<FString,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!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
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!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Simulation - Physics
Affects Versions4.12.54.13.14.14
Target Fix4.15
Fix Commit3219199
Main Commit3229477
CreatedOct 18, 2016
ResolvedDec 2, 2016
UpdatedApr 27, 2018