Description

Crash occurs when attempting to retarget an animation whose skeleton has a virtual bone.

Steps to Reproduce
  1. Open QAGame in editor.
  2. Open the animation ThirdPersonRun.
  3. In the skeleton tree, right-click a bone and select Add Virtual Bone > Any Bone.
  4. Close Persona.
  5. Right-click the animation and select Retarget Anim Assets > Duplicate Anim Assets and Retarget.

RESULT:

Crash.

Callstack
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:d:\framework\engine\source\runtime\core\public\Containers/Array.h] [Line: 634] Array index out of bounds: 68 from an array of size 68
UE4Editor_Engine!FAnimationRuntime::FillWithRetargetBaseRefPose() animationruntime.cpp:769 
UE4Editor_AnimGraph!FAnimPreviewInstanceProxy::Evaluate() animpreviewinstance.cpp:117 
UE4Editor_Engine!FAnimInstanceProxy::EvaluateAnimation() animinstanceproxy.cpp:821 
UE4Editor_Engine!UAnimInstance::ParallelEvaluateAnimation() animinstance.cpp:563 
UE4Editor_Engine!USkeletalMeshComponent::EvaluateAnimation() skeletalmeshcomponent.cpp:1288 
UE4Editor_Engine!USkeletalMeshComponent::PerformAnimationEvaluation() skeletalmeshcomponent.cpp:1358 
UE4Editor_Engine!USkeletalMeshComponent::RefreshBoneTransforms() skeletalmeshcomponent.cpp:1573 
UE4Editor_UnrealEd!UDebugSkelMeshComponent::RefreshBoneTransforms() debugskelmeshcomponent.cpp:461 
UE4Editor_UnrealEd!SBasePoseViewport::SetSkeleton() sskeletonwidget.cpp:1389 
UE4Editor_UnrealEd!SBasePoseViewport::Construct() sskeletonwidget.cpp:1369 
UE4Editor_UnrealEd!TDecl<SBasePoseViewport,RequiredArgs::T0RequiredArgs>::operator<<=() declarativesyntaxsupport.h:1079 
UE4Editor_UnrealEd!SAnimationRemapSkeleton::Construct() sskeletonwidget.cpp:834 
UE4Editor_UnrealEd!TDecl<SAnimationRemapSkeleton,RequiredArgs::T0RequiredArgs>::operator<<=() declarativesyntaxsupport.h:1079 
UE4Editor_UnrealEd!SAnimationRemapSkeleton::ShowWindow() sskeletonwidget.cpp:981 
UE4Editor_AssetTools!FAssetTypeActions_AnimationAsset::RetargetAssets() assettypeactions_animationasset.cpp:246 
UE4Editor_AssetTools!TMemberFunctionCaller<FAssetTypeActions_AnimationAsset,void() delegateinstanceinterface.h:162 
UE4Editor_AssetTools!TBaseSPMethodDelegateInstance<0,FAssetTypeActions_AnimationAsset,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:318 
UE4Editor_AssetTools!TBaseSPMethodDelegateInstance<0,FAssetTypeActions_AnimationAsset,0,void __cdecl() delegateinstancesimpl.h:424 
UE4Editor_Slate!SMenuEntryBlock::OnClicked() smenuentryblock.cpp:1042 
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() smenuentryblock.cpp:993 
UE4Editor_Slate!TMemberFunctionCaller<SMenuEntryBlock,FReply() delegateinstanceinterface.h:161 
UE4Editor_Slate!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SMenuEntryBlock,FReply() tuple.h:116 
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl() delegateinstancesimpl.h:318 
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() delegatesignatureimpl.inl:522 
UE4Editor_Slate!SButton::OnMouseButtonUp() sbutton.cpp:275 
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() smenuentryblock.cpp:391 
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() slateapplication.cpp:5009 
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() slateapplication.cpp:215
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:4998 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5461 
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5438 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1652 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2071 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:814 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:678 
user32!<Unknown> 
user32!<Unknown> 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:951 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2808 
UE4Editor!GuardedMain() launch.cpp:152 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:202 
UE4Editor!__scrt_common_main_seh() exe_common.inl:264 
kernel32!<Unknown> 
ntdll!<Unknown> 

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-37781 in the post.

0
Login to Vote

Fixed
ComponentAnim - Animation
Affects Versions4.144.15
Target Fix4.14
Fix Commit3175267
Release Commit3175267
CreatedOct 25, 2016
ResolvedOct 26, 2016
UpdatedJan 14, 2019