Description

This is a regression from 4.24.3 CL 11590370
This was discovered when ad-hoc from home
I ran into this by running this set up
https://docs.unrealengine.com/en-US/Engine/Rendering/Materials/HowTo/ClearCoatDualNormal/index.html

Steps to Reproduce

1. Create and open any Project
2. Right-click content browser, select new material
3. Rename and open the material
4. Right-click in the graph and select a Scalar Parameter Expression node
5. Right-click again an create another Scalar Parameter Expression node
6. Click out of the node

Result - Editor crashes
Expected: Doesn't crash

Callstack
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 674] Array index out of bounds: 1 from an array of size 1

UE4Editor_Core!AssertFailedImplV() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:100]
UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:450]
UE4Editor_PropertyEditor!DispatchCheckVerify<void,<lambda_29d9fc31a3bdbcf7d324e0302b8e6d74> >() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Misc\AssertionMacros.h:156]
UE4Editor_PropertyEditor!FPropertyNode::GetChildNode() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\PropertyEditor\Private\PropertyNode.h:413]
UE4Editor_PropertyEditor!FPropertyValueImpl::GetChildNode() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:851]
UE4Editor_PropertyEditor!FPropertyHandleBase::GetChildHandle() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:2336]
UE4Editor_MaterialEditor!SMaterialParametersOverviewTree::CreateGroupsWidget() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\MaterialEditor\Private\SMaterialParametersOverviewWidget.cpp:659]
UE4Editor_MaterialEditor!SMaterialParametersOverviewPanel::Refresh() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\MaterialEditor\Private\SMaterialParametersOverviewWidget.cpp:817]
UE4Editor_MaterialEditor!FMaterialEditor::NotifyPostChange() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\MaterialEditor\Private\MaterialEditor.cpp:4572]
UE4Editor_PropertyEditor!FPropertyNode::NotifyPostChange() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\PropertyEditor\Private\PropertyNode.cpp:2391]
UE4Editor_PropertyEditor!FPropertyValueImpl::ImportText() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:431]
UE4Editor_PropertyEditor!FPropertyValueImpl::ImportText() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:212]
UE4Editor_PropertyEditor!FPropertyValueImpl::SetValueAsString() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:727]
UE4Editor_PropertyEditor!SPropertyEditorText::OnTextCommitted() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\PropertyEditor\Private\UserInterface\PropertyEditor\SPropertyEditorText.cpp:117]
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyEditorText,0,void __cdecl(FText const &,enum ETextCommit::Type)>::ExecuteIfSafe() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:374]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SEditableTextBox,0,void __cdecl(FText const &,enum ETextCommit::Type)>::ExecuteIfSafe() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:374]
UE4Editor_Slate!FSlateEditableTextLayout::HandleCarriageReturn() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Text\SlateEditableTextLayout.cpp:1519]
UE4Editor_Slate!FSlateEditableTextLayout::HandleKeyDown() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Text\SlateEditableTextLayout.cpp:967]
UE4Editor_Slate!SEditableText::OnKeyDown() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Input\SEditableText.cpp:211]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,<lambda_348e43676c71ef9c842236ae8e30eb35> >() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:372]
UE4Editor_Slate!FSlateApplication::ProcessKeyDownEvent() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4204]
UE4Editor_Slate!FSlateApplication::OnKeyDown() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4112]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1798]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2415]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1639]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:790]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:130]
UE4Editor!FEngineLoop::Tick() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4714]
UE4Editor!GuardedMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:169]
UE4Editor!GuardedMainWrapper() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor!WinMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:266]
UE4Editor!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Rendering Architecture - Materials
Affects Versions4.25
Target Fix4.25
Fix Commit12151923
CreatedMar 11, 2020
ResolvedMar 12, 2020
UpdatedNov 2, 2021