Description

Crash-Connecting output of unspecified functions to pins on the material result node.

This does occur in Main at CL: 3792526

Steps to Reproduce
  1. Open QAGame in UE4Editor
  2. Open the Material M_ParamDefaults
  3. Add a MaterialFunctionCall node to the Graph
  4. Drag and connect the Unspecific Function's pin to any pin on Material Result Node
    Result: Editor Crashes
    Expected Result: Editor should not crash
Callstack
[2017.12.06-20.10.59:132][830]LogWindows: Error: === Critical error: ===
[2017.12.06-20.10.59:132][830]LogWindows: Error: 
[2017.12.06-20.10.59:132][830]LogWindows: Error: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\P4V\LukeGilesStaging-Switch\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 610] 
[2017.12.06-20.10.59:132][830]LogWindows: Error: Array index out of bounds: 0 from an array of size 0
[2017.12.06-20.10.59:132][830]LogWindows: Error: 
[2017.12.06-20.10.59:132][830]LogWindows: Error: 
[2017.12.06-20.10.59:132][830]LogWindows: Error: [Callstack] 0x00000000E34B3C58 KERNELBASE.dll!UnknownFunction []
[2017.12.06-20.10.59:132][830]LogWindows: Error: [Callstack] 0x00000000BEAB7804 UE4Editor-ApplicationCore.dll!FWindowsErrorOutputDevice::Serialize() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\applicationcore\private\windows\windowserroroutputdevice.cpp:65]
[2017.12.06-20.10.59:132][830]LogWindows: Error: [Callstack] 0x00000000ADCAF85B UE4Editor-Core.dll!FOutputDevice::Logf__VA() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\core\private\misc\outputdevice.cpp:70]
[2017.12.06-20.10.59:132][830]LogWindows: Error: [Callstack] 0x00000000ADC54839 UE4Editor-Core.dll!FDebug::AssertFailed() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\core\private\misc\assertionmacros.cpp:419]
[2017.12.06-20.10.59:132][830]LogWindows: Error: [Callstack] 0x00000000A635553A UE4Editor-Engine.dll!UMaterialExpression::GetOutputType() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\engine\private\materials\materialexpressions.cpp:878]
[2017.12.06-20.10.59:132][830]LogWindows: Error: [Callstack] 0x00000000AA26EB5E UE4Editor-UnrealEd.dll!UMaterialGraphSchema::ArePinsCompatible() [d:\p4v\lukegilesstaging-switch\engine\source\editor\unrealed\private\materialgraphschema.cpp:307]
[2017.12.06-20.10.59:132][830]LogWindows: Error: [Callstack] 0x00000000AA272ADE UE4Editor-UnrealEd.dll!UMaterialGraphSchema::CanCreateConnection() [d:\p4v\lukegilesstaging-switch\engine\source\editor\unrealed\private\materialgraphschema.cpp:523]
[2017.12.06-20.10.59:132][830]LogWindows: Error: [Callstack] 0x00000000A54F1736 UE4Editor-GraphEditor.dll!FDragConnection::HoverTargetChanged() [d:\p4v\lukegilesstaging-switch\engine\source\editor\grapheditor\private\dragconnection.cpp:55]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000A556B17A UE4Editor-GraphEditor.dll!FGraphEditorDragDropAction::SetHoveredPin() [d:\p4v\lukegilesstaging-switch\engine\source\editor\grapheditor\private\grapheditordragdropaction.cpp:55]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000A5514BE6 UE4Editor-GraphEditor.dll!SGraphPin::OnDragEnter() [d:\p4v\lukegilesstaging-switch\engine\source\editor\grapheditor\private\sgraphpin.cpp:649]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000BCAF6853 UE4Editor-Slate.dll!<lambda_f61e425f9587e96b799927cd214b1498>::operator()() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5697]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000BCAC69EB UE4Editor-Slate.dll!FEventRouter::Route<FNoReply,FEventRouter::FBubblePolicy,FDragDropEvent,<lambda_f61e425f9587e96b799927cd214b1498> >() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:266]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000BCB5F8BD UE4Editor-Slate.dll!FSlateApplication::RoutePointerMoveEvent() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5691]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000BCB49669 UE4Editor-Slate.dll!FSlateApplication::ProcessMouseMoveEvent() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:6122]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000BCB3C137 UE4Editor-Slate.dll!FSlateApplication::OnMouseMove() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:6056]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000BEAAE4BE UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1764]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000BEAA1A88 UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2172]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000BEAB050C UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:889]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000BEA9D5E9 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:726]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000E4391C24 USER32.dll!UnknownFunction []
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000E439156C USER32.dll!UnknownFunction []
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000BEAB1636 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:129]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000EF5B5346 UE4Editor.exe!FEngineLoop::Tick() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\launch\private\launchengineloop.cpp:3251]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000EF5C6BC0 UE4Editor.exe!GuardedMain() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\launch\private\launch.cpp:166]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000EF5C6C3A UE4Editor.exe!GuardedMainWrapper() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000EF5D4039 UE4Editor.exe!WinMain() [d:\p4v\lukegilesstaging-switch\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000EF5D5A47 UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000E5EB8364 KERNEL32.DLL!UnknownFunction []
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000E62F7091 ntdll.dll!UnknownFunction []
[2017.12.06-20.10.59:133][830]LogWindows: Error: [Callstack] 0x00000000E62F7091 ntdll.dll!UnknownFunction []
[2017.12.06-20.10.59:133][830]LogWindows: Error: 

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Rendering Architecture - Materials
Affects Versions4.19
Target Fix4.19
Fix Commit3794273
Main Commit3807911
Release Commit3813083
CreatedDec 6, 2017
ResolvedDec 7, 2017
UpdatedNov 2, 2021
View Jira Issue