Description

REGRESSION Yes, does not occur in 4.16.

Crash occurs when the user splits a vector pin on an anim node and then tries to promote one of the float nodes to variable.

I could not reproduce this issue in a class blueprint.

Note that there are two slightly different callstacks depending on if you have Compilation Manager enabled.

Steps to Reproduce
  1. Open QAGame in editor.
  2. Create a new Anim Blueprint based on UE4_Mannequin_Skeleton.
  3. Open the anim blueprint.
  4. In the Anim Graph, add a Look At node (under Skeletal Control).
  5. In the Details panel, enable the As Pin for Look At Location.
  6. On the node, right-click the newly exposed Look At Location pin and select Split Struct Pin.
  7. Right-click any of the float pins and select Promote To Variable.

RESULT

Crash.

Callstack
Fatal error: [File:D:\Main\Engine\Source\Runtime\CoreUObject\Private\Templates\Casts.cpp] [Line: 10] Cast of EdGraph /Game/NewAnimBlueprint.NewAnimBlueprint:ExecuteUbergraph_NewAnimBlueprint to AnimationGraph failed

UE4Editor_CoreUObject!CastLogError() casts.cpp:11 
UE4Editor_AnimGraph!CastChecked<UAnimationGraph,UEdGraph>() casts.h:217 
UE4Editor_AnimGraph!UAnimGraphNode_Base::PinDefaultValueChanged() animgraphnode_base.cpp:349 
UE4Editor_BlueprintGraph!UEdGraphSchema_K2::ResetPinToAutogeneratedDefaultValue() edgraphschema_k2.cpp:4758 
UE4Editor_BlueprintGraph!UK2Node::PinConnectionListChanged() k2node.cpp:382 
UE4Editor_Engine!UEdGraphSchema::TryCreateConnection() edgraphschema.cpp:454 
UE4Editor_BlueprintGraph!UEdGraphSchema_K2::TryCreateConnection() edgraphschema_k2.cpp:2325 
UE4Editor_BlueprintGraph!UK2Node::ExpandSplitPin() k2node.cpp:820 
UE4Editor_KismetCompiler!FAnimBlueprintCompiler::MergeUbergraphPagesIn() animblueprintcompiler.cpp:1732 
UE4Editor_KismetCompiler!FKismetCompilerContext::CreateAndProcessUbergraph() kismetcompiler.cpp:3007 
UE4Editor_KismetCompiler!FKismetCompilerContext::CreateFunctionList() kismetcompiler.cpp:3546 
UE4Editor_KismetCompiler!FKismetCompilerContext::CompileClassLayout() kismetcompiler.cpp:3805 
UE4Editor_KismetCompiler!FKismet2CompilerModule::CompileBlueprintInner() kismetcompilermodule.cpp:124 
UE4Editor_KismetCompiler!FKismet2CompilerModule::CompileBlueprint() kismetcompilermodule.cpp:231 
UE4Editor_UnrealEd!FBlueprintEditorUtils::MarkBlueprintAsStructurallyModified() blueprinteditorutils.cpp:2074 
UE4Editor_UnrealEd!FBlueprintEditorUtils::AddMemberVariable() blueprinteditorutils.cpp:4125 
UE4Editor_Kismet!FBlueprintEditor::DoPromoteToVariable() blueprinteditor.cpp:3771 
UE4Editor_Kismet!FBlueprintEditor::OnPromoteToVariable() blueprinteditor.cpp:3829 
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:327 
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl() delegateinstancesimpl.h:434 
UE4Editor_Slate!FUICommandList::ExecuteAction() uicommandlist.cpp:97 
UE4Editor_Slate!SMenuEntryBlock::OnClicked() smenuentryblock.cpp:1042 
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() smenuentryblock.cpp:1002 
UE4Editor_Slate!TMemberFunctionCaller<SMenuEntryBlock,FReply() delegateinstanceinterface.h:165 
UE4Editor_Slate!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SMenuEntryBlock,FReply() tuple.h:497
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl() delegateinstancesimpl.h:327 
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() delegatesignatureimpl.inl:537 
UE4Editor_Slate!SButton::OnMouseButtonUp() sbutton.cpp:278 
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() smenuentryblock.cpp:399 
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() slateapplication.cpp:5087 
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() slateapplication.cpp:239
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:5076 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5557 
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5537 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1699 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2122 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:862 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:709 
user32!<Unknown> 
user32!<Unknown> 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:1009 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:3089 
UE4Editor!GuardedMain() launch.cpp:166 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:134 
UE4Editor!WinMain() launchwindows.cpp:210 
UE4Editor!__scrt_common_main_seh() exe_common.inl:253 
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-45790 in the post.

0
Login to Vote

Fixed
ComponentOLD - Anim
Affects Versions4.17
Target Fix4.17
Fix Commit3473402
Main Commit3502661
CreatedJun 7, 2017
ResolvedJun 8, 2017
UpdatedMay 18, 2020
View Jira Issue