Description

Collapsed blueprint nodes that are copied and pasted into a function graph of a Widget will cause a fatal error when the blueprint compiles, as seen in the callstack, and will provide the message: "Statement tried to pass control flow to a node Inputs that generates no code" in the widget's compiler results window.

Steps to Reproduce
  • Create a new Widget blueprint
  • Create a collapsed graph node that takes an object reference input. does something with it, and finally returns an object reference.
    •  Example:
    • [Image Removed]
  • Copy that collapsed node from the event graph of one Widget Blueprint into a function graph of another Widget Blueprint. (Using Ctrl+c & Ctrl+v)
  • Connect the execution pin
  • Attempt to compile the target BP, and notice the fatal error that occurs
Callstack

LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: MyNode->GetOuter() == ToPin->GetOwningNode()->GetOuter() [Link Removed] [Line: 523]
LogOutputDevice: Error: UEdGraphPin::MakeLinkTo Pin 'execute' on node 'CollapseGraph_0_2 - Tunnel Input Site' has a different outer than pin 'execute2' on node 'CollapseGraph_0_2 - Tunnel Entry Site'
LogOutputDevice: Error: Stack:
LogOutputDevice: Error: [Callstack] 0x00007ffe9422e3ca UnrealEditor-Engine.dll!UEdGraphPin::MakeLinkTo() [D:\Builds\5.0\Engine\Source\Runtime\Engine\Private\EdGraph\EdGraphPin.cpp:523]
LogOutputDevice: Error: [Callstack] 0x00007ffeb53b8b54 UnrealEditor-BlueprintGraph.dll!UEdGraphSchema_K2::CombineTwoPinNetsAndRemoveOldPins() [D:\Builds\5.0\Engine\Source\Editor\BlueprintGraph\Private\EdGraphSchema_K2.cpp:6924]
LogOutputDevice: Error: [Callstack] 0x00007ffeb53b81ec UnrealEditor-BlueprintGraph.dll!UEdGraphSchema_K2::CollapseGatewayNode() [D:\Builds\5.0\Engine\Source\Editor\BlueprintGraph\Private\EdGraphSchema_K2.cpp:6832]
LogOutputDevice: Error: [Callstack] 0x00007ffe8f23002c UnrealEditor-KismetCompiler.dll!FKismetCompilerContext::ExpandTunnelsAndMacros() [D:\Builds\5.0\Engine\Source\Editor\KismetCompiler\Private\KismetCompiler.cpp:4178]
LogOutputDevice: Error: [Callstack] 0x00007ffe8f230568 UnrealEditor-KismetCompiler.dll!FKismetCompilerContext::ExpansionStep() [D:\Builds\5.0\Engine\Source\Editor\KismetCompiler\Private\KismetCompiler.cpp:3575]
LogOutputDevice: Error: [Callstack] 0x00007ffe8f2430c3 UnrealEditor-KismetCompiler.dll!FKismetCompilerContext::ProcessOneFunctionGraph() [D:\Builds\5.0\Engine\Source\Editor\KismetCompiler\Private\KismetCompiler.cpp:4220]
LogOutputDevice: Error: [Callstack] 0x00007ffe8f21ecca UnrealEditor-KismetCompiler.dll!FKismetCompilerContext::CreateFunctionList() [D:\Builds\5.0\Engine\Source\Editor\KismetCompiler\Private\KismetCompiler.cpp:4359]
LogOutputDevice: Error: [Callstack] 0x00007ffea0521bf5 UnrealEditor-UMGEditor.dll!FWidgetBlueprintCompilerContext::CreateFunctionList() [D:\Builds\5.0\Engine\Source\Editor\UMGEditor\Private\WidgetBlueprintCompiler.cpp:118]
LogOutputDevice: Error: [Callstack] 0x00007ffe8f21312a UnrealEditor-KismetCompiler.dll!FKismetCompilerContext::CompileClassLayout() [D:\Builds\5.0\Engine\Source\Editor\KismetCompiler\Private\KismetCompiler.cpp:4568]
LogOutputDevice: Error: [Callstack] 0x00007ffe917c10eb UnrealEditor-Kismet.dll!FBlueprintCompilationManagerImpl::FlushCompilationQueueImpl() [D:\Builds\5.0\Engine\Source\Editor\Kismet\Private\BlueprintCompilationManager.cpp:1296]
LogOutputDevice: Error: [Callstack] 0x00007ffe91764167 UnrealEditor-Kismet.dll!FBlueprintCompilationManagerImpl::CompileSynchronouslyImpl() [D:\Builds\5.0\Engine\Source\Editor\Kismet\Private\BlueprintCompilationManager.cpp:267]
LogOutputDevice: Error: [Callstack] 0x00007ffe91763f20 UnrealEditor-Kismet.dll!FBlueprintCompilationManager::CompileSynchronously() [D:\Builds\5.0\Engine\Source\Editor\Kismet\Private\BlueprintCompilationManager.cpp:3158]
LogOutputDevice: Error: [Callstack] 0x00007ffeb76e0c9e UnrealEditor-UnrealEd.dll!FKismetEditorUtilities::CompileBlueprint() [D:\Builds\5.0\Engine\Source\Editor\UnrealEd\Private\Kismet2\Kismet2.cpp:761]
LogOutputDevice: Error: [Callstack] 0x00007ffe91875fdb UnrealEditor-Kismet.dll!FBlueprintEditor::Compile() [D:\Builds\5.0\Engine\Source\Editor\Kismet\Private\BlueprintEditor.cpp:3873]
LogOutputDevice: Error: [Callstack] 0x00007ffea05065f8 UnrealEditor-UMGEditor.dll!FWidgetBlueprintEditor::Compile() [D:\Builds\5.0\Engine\Source\Editor\UMGEditor\Private\WidgetBlueprintEditor.cpp:1359]
LogOutputDevice: Error: [Callstack] 0x00007ffe9189131c UnrealEditor-Kismet.dll!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,1,void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\Builds\5.0\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
LogOutputDevice: Error: [Callstack] 0x00007ffeda74b058 UnrealEditor-Slate.dll!FUICommandList::ExecuteAction() [D:\Builds\5.0\Engine\Source\Runtime\Slate\Private\Framework\Commands\UICommandList.cpp:99]
LogOutputDevice: Error: [Callstack] 0x00007ffeda82df6b UnrealEditor-Slate.dll!SToolBarButtonBlock::OnClicked() [D:\Builds\5.0\Engine\Source\Runtime\Slate\Private\Framework\MultiBox\SToolBarButtonBlock.cpp:384]
LogOutputDevice: Error: [Callstack] 0x00007ffeda8110a4 UnrealEditor-Slate.dll!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,1,FReply __cdecl(void),FDefaultDelegateUserPolicy>::Execute() [D:\Builds\5.0\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:290]
LogOutputDevice: Error: [Callstack] 0x00007ffeda8ac02b UnrealEditor-Slate.dll!SButton::ExecuteOnClick() [D:\Builds\5.0\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:464]
LogOutputDevice: Error: [Callstack] 0x00007ffeda8d3436 UnrealEditor-Slate.dll!SButton::OnMouseButtonUp() [D:\Builds\5.0\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:389]
LogOutputDevice: Error: [Callstack] 0x00007ffeda674024 UnrealEditor-Slate.dll!<lambda_51e270ca99ea7ce852539efd04dd453f>::operator()() [D:\Builds\5.0\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4961]
LogOutputDevice: Error: [Callstack] 0x00007ffeda656fc6 UnrealEditor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_51e270ca99ea7ce852539efd04dd453f> >() [D:\Builds\5.0\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:405]
LogOutputDevice: Error: [Callstack] 0x00007ffeda6d02ce UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [D:\Builds\5.0\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4947]
LogOutputDevice: Error: [Callstack] 0x00007ffeda6b91a1 UnrealEditor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [D:\Builds\5.0\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5495]
LogOutputDevice: Error: [Callstack] 0x00007ffeda6ad5cc UnrealEditor-Slate.dll!FSlateApplication::OnMouseUp() [D:\Builds\5.0\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5460]
LogOutputDevice: Error: [Callstack] 0x00007ffedc7ba92e UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [D:\Builds\5.0\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2210]
LogOutputDevice: Error: [Callstack] 0x00007ffedc7a9247 UnrealEditor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [D:\Builds\5.0\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2699]
LogOutputDevice: Error: [Callstack] 0x00007ffedc7bce51 UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [D:\Builds\5.0\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1078]
LogOutputDevice: Error: [Callstack] 0x00007ffedc7a49a7 UnrealEditor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [D:\Builds\5.0\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:916]
LogOutputDevice: Error: [Callstack] 0x00007ffefab2e858 USER32.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffefab2e4ee USER32.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffe77917e19 InkObj.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffecc681118 atlthunk.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffefab2e858 USER32.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffefab2e299 USER32.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffedc7be148 UnrealEditor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [D:\Builds\5.0\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:138]
LogOutputDevice: Error: [Callstack] 0x00007ff7a5d47114 UnrealEditor.exe!FEngineLoop::Tick() [D:\Builds\5.0\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5139]
LogOutputDevice: Error: [Callstack] 0x00007ff7a5d60d9c UnrealEditor.exe!GuardedMain() [D:\Builds\5.0\Engine\Source\Runtime\Launch\Private\Launch.cpp:183]
LogOutputDevice: Error: [Callstack] 0x00007ff7a5d60e8a UnrealEditor.exe!GuardedMainWrapper() [D:\Builds\5.0\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
LogOutputDevice: Error: [Callstack] 0x00007ff7a5d63c4d UnrealEditor.exe!LaunchWindowsStartup() [D:\Builds\5.0\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]
LogOutputDevice: Error: [Callstack] 0x00007ff7a5d75564 UnrealEditor.exe!WinMain() [D:\Builds\5.0\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:330]
LogOutputDevice: Error: [Callstack] 0x00007ff7a5d78736 UnrealEditor.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
LogOutputDevice: Error: [Callstack] 0x00007ffefaf57034 KERNEL32.DLL!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffefb9e2651 ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Gameplay - Blueprint
Affects Versions5.0.2
Target Fix5.1
CreatedJun 28, 2022
UpdatedJun 29, 2022