Description

Crash occurs when the user adds an Input Pose node to a State graph in an Animation Blueprint.

Steps to Reproduce
  1. Open any project in editor (one that has a skeleton at least).
  2. Create an animation blueprint based a skeleton.
  3. Add a State Machine to the Anim Graph.
  4. In the State Machine, add a State.
  5. In the State, add an Input Pose node.

RESULT

Crash

Callstack
Fatal error: [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/CoreUObject/Private/Templates/Casts.cpp] [Line: 10] 
Cast of AnimStateNode /Game/FirstPersonBP/NewAnimBlueprint.NewAnimBlueprint:AnimGraph.AnimGraphNode_StateMachine_0.New State Machine.AnimStateNode_0 to AnimBlueprint failed

KERNELBASE.dll!UnknownFunction []
UE4Editor-Core.dll!ReportAssert() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformCrashContext.cpp:1483]
UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsErrorOutputDevice.cpp:78]
UE4Editor-Core.dll!FOutputDevice::LogfImpl() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Misc\OutputDevice.cpp:61]
UE4Editor-CoreUObject.dll!CastLogError() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\Templates\Casts.cpp:10]
UE4Editor-AnimGraph.dll!CastChecked<UAnimBlueprint,UObject>() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h:264]
UE4Editor-AnimGraph.dll!UAnimGraphNode_LinkedInputPose::PostPlacedNewNode() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\AnimGraph\Private\AnimGraphNode_LinkedInputPose.cpp:247]
UE4Editor-BlueprintGraph.dll!UBlueprintNodeSpawner::SpawnEdGraphNode() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\BlueprintGraph\Private\BlueprintNodeSpawner.cpp:331]
UE4Editor-BlueprintGraph.dll!UBlueprintNodeSpawner::SpawnNode<UEdGraphNode>() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\BlueprintGraph\Public\BlueprintNodeSpawner.h:303]
UE4Editor-BlueprintGraph.dll!UBlueprintNodeSpawner::Invoke() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\BlueprintGraph\Private\BlueprintNodeSpawner.cpp:265]
UE4Editor-Kismet.dll!FBlueprintActionMenuItem::PerformAction() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\Kismet\Private\BlueprintActionMenuItem.cpp:274]
UE4Editor-Kismet.dll!FBlueprintActionMenuItem::PerformAction() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\Kismet\Private\BlueprintActionMenuItem.cpp:323]
UE4Editor-Kismet.dll!SBlueprintActionMenu::OnActionSelected() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\Kismet\Private\SBlueprintActionMenu.cpp:535]
UE4Editor-Kismet.dll!TBaseSPMethodDelegateInstance<0,SBlueprintActionMenu,0,TTypeWrapper<void> __cdecl(TArray<TSharedPtr<FEdGraphSchemaAction,0>,TSizedDefaultAllocator<32> > const &,enum ESelectInfo::Type)>::Execute() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:298]
UE4Editor-GraphEditor.dll!SGraphActionMenu::HandleSelection() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\GraphEditor\Private\SGraphActionMenu.cpp:1532]
UE4Editor-GraphEditor.dll!SGraphActionMenu::TryToSpawnActiveSuggestion() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\GraphEditor\Private\SGraphActionMenu.cpp:1100]
UE4Editor-GraphEditor.dll!SGraphActionMenu::OnKeyDown() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\GraphEditor\Private\SGraphActionMenu.cpp:1428]
UE4Editor-GraphEditor.dll!TBaseSPMethodDelegateInstance<0,SGraphActionMenu,0,FReply __cdecl(FGeometry const &,FKeyEvent const &)>::Execute() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:298]
UE4Editor-Slate.dll!SEditableText::OnKeyDown() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Input\SEditableText.cpp:206]
UE4Editor-Slate.dll!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.dll!FSlateApplication::ProcessKeyDownEvent() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4204]
UE4Editor-Slate.dll!FSlateApplication::OnKeyDown() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4112]
UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1968]
UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2585]
UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1809]
UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:852]
USER32.dll!UnknownFunction []
USER32.dll!UnknownFunction []
UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:130]
UE4Editor.exe!FEngineLoop::Tick() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4762]
UE4Editor.exe!GuardedMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:169]
UE4Editor.exe!GuardedMainWrapper() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor.exe!WinMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
KERNEL32.DLL!UnknownFunction []
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-93546 in the post.

6
Login to Vote

Fixed
ComponentOLD - Anim
Affects Versions4.25
Target Fix4.26
Fix Commit13861887
Main Commit14229911
CreatedMay 26, 2020
ResolvedJul 15, 2020
UpdatedSep 1, 2020