Description

A crash occurs when setting the Blend Type for multiple Landscape Layer Blend nodes from Weight Blend to Height Blend.

Steps to Reproduce

1. Open attached project.
2. Open the M_LandscapeMat
3. Select all the Layer Blend nodes.
4. Set the Blend Type for each Layer from LB Weight Blend to LB Height Blend

Outcome A crash occurs when setting multiple blend layers to a height blend type from the default blend type.

Expected All the layers switch to Height blend and their respective inputs are still connected.

Callstack

UE4Editor_Engine!UEdGraphPin::MakeLinkTo() edgraphpin.cpp:295
UE4Editor_UnrealEd!UMaterialGraph::LinkGraphNodesFromMaterial() materialgraph.cpp:174
UE4Editor_Landscape!UMaterialExpressionLandscapeLayerBlend::PostEditChangeProperty() materialexpressionlandscapelayerblend.cpp:323
UE4Editor_CoreUObject!UObject::PostEditChangeChainProperty() obj.cpp:421
UE4Editor_PropertyEditor!FPropertyNode::NotifyPostChange() propertynode.cpp:2368
UE4Editor_PropertyEditor!FPropertyValueImpl::ImportText() propertyhandleimpl.cpp:561
UE4Editor_PropertyEditor!FPropertyValueImpl::ImportText() propertyhandleimpl.cpp:361
UE4Editor_PropertyEditor!FPropertyValueImpl::SetValueAsString() propertyhandleimpl.cpp:832
UE4Editor_PropertyEditor!SPropertyEditorCombo::SendToObjects() spropertyeditorcombo.cpp:232
UE4Editor_PropertyEditor!SPropertyEditorCombo::OnComboSelectionChanged() spropertyeditorcombo.cpp:172
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyEditorCombo,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:327
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyEditorCombo,0,void __cdecl() delegateinstancesimpl.h:434
UE4Editor_PropertyEditor!TBaseDelegate<void,TSharedPtr<FString,0>,enum ESelectInfo::Type>::ExecuteIfBound() delegatesignatureimpl.inl:624
UE4Editor_PropertyEditor!SPropertyComboBox::OnSelectionChangedInternal() spropertycombobox.cpp:104
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyComboBox,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:327
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyComboBox,0,void __cdecl() delegateinstancesimpl.h:434
UE4Editor_PropertyEditor!TBaseDelegate<void,TSharedPtr<FString,0>,enum ESelectInfo::Type>::ExecuteIfBound() delegatesignatureimpl.inl:624
UE4Editor_PropertyEditor!SComboBox<TSharedPtr<FString,0> >::OnSelectionChanged_Internal() scombobox.h:440
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SComboBox<TSharedPtr<FString,0> >,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:327
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SComboBox<TSharedPtr<FString,0> >,0,void __cdecl() delegateinstancesimpl.h:434
UE4Editor_PropertyEditor!TBaseDelegate<void,TSharedPtr<FString,0>,enum ESelectInfo::Type>::ExecuteIfBound() delegatesignatureimpl.inl:624
UE4Editor_PropertyEditor!SListView<TSharedPtr<FString,0> >::Private_SignalSelectionChanged() slistview.h:720
UE4Editor_PropertyEditor!STableRow<TSharedPtr<FString,0> >::OnMouseButtonUp() stablerow.h:473
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() slateapplication.cpp:5075
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() slateapplication.cpp:238
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:5064
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5531
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5508
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1698
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2120
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:867
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:714
user32!<Unknown>
user32!<Unknown>
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:980
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2977
UE4Editor!GuardedMain() launch.cpp:166
UE4Editor!GuardedMainWrapper() launchwindows.cpp:134
UE4Editor!WinMain() launchwindows.cpp:210
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-42833 in the post.

0
Login to Vote

Fixed
ComponentUE - LD & Modeling - Terrain - Landscape
Affects Versions4.14.34.15
Target Fix4.16
Fix Commit3396002
Main Commit3427032
Release Commit3396002
CreatedMar 13, 2017
ResolvedApr 17, 2017
UpdatedOct 30, 2017
View Jira Issue