Description

This is a regression. Tested in //UE5/Release-5.2 CL26001984

Opening the FP_Walk_Fwd animation in the first person template results in an assertion.

Steps to Reproduce
  1. Create a new First Person Template project
  2. In the Content Browser search for FP_Walk_Fwd
  3. Double click the asset to open it

Expected Results:
The animation opens in a new window.

Actual Results:
The editor crashes with an Assertion.

Callstack
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 771] Array index out of bounds: 68 from an array of size 68
UnrealEditor-Engine!UE::Anim::Retargeting::FRetargetingScope::~FRetargetingScope() [AnimSequenceHelpers.cpp:219]
UnrealEditor-AnimationData!UAnimationSequencerDataModel::GeneratePoseData(UControlRig *,FAnimationPoseData &,UE::Anim::DataModel::FEvaluationContext const &) [AnimSequencerDataModel.cpp:1284]
UnrealEditor-AnimationData!UAnimationSequencerDataModel::Evaluate(FAnimationPoseData &,UE::Anim::DataModel::FEvaluationContext const &) [AnimSequencerDataModel.cpp:745]
UnrealEditor-Engine!UAnimSequence::GetBonePose(FAnimationPoseData &,FAnimExtractContext const &,bool) [AnimSequence.cpp:1674]
UnrealEditor-Engine!UAnimSequence::GetAnimationPose(FAnimationPoseData &,FAnimExtractContext const &) [AnimSequence.cpp:1535]
UnrealEditor-Engine!FAnimNode_SingleNode::Evaluate_AnyThread(FPoseContext &) [AnimSingleNodeInstanceProxy.cpp:346]
UnrealEditor-Engine!FAnimSingleNodeInstanceProxy::Evaluate(FPoseContext &) [AnimSingleNodeInstanceProxy.cpp:47]
UnrealEditor-AnimGraph!FAnimPreviewInstanceProxy::Evaluate(FPoseContext &) [AnimPreviewInstance.cpp:203]
UnrealEditor-Engine!FAnimInstanceProxy::EvaluateAnimation_WithRoot(FPoseContext &,FAnimNode_Base *) [AnimInstanceProxy.cpp:1379]
UnrealEditor-Engine!UAnimInstance::ParallelEvaluateAnimation(bool,USkeletalMesh const *,FParallelEvaluationData &) [AnimInstance.cpp:842]
UnrealEditor-Engine!USkeletalMeshComponent::EvaluateAnimation(USkeletalMesh const *,UAnimInstance *,UE::Math::TVector<double> &,FBlendedHeapCurve &,FCompactPose &,UE::Anim::FHeapAttributeContainer &) [SkeletalMeshComponent.cpp:1958]
UnrealEditor-Engine!USkeletalMeshComponent::PerformAnimationProcessing(USkeletalMesh const *,UAnimInstance *,bool,TArray<UE::Math::TTransform<double>,TSizedDefaultAllocator<32> > &,TArray<UE::Math::TTransform<double>,TSizedDefaultAllocator<32> > &,UE::Math::TVector<double> &,FBlendedHeapCurve &,UE::Anim::FMeshAttributeContainer &) [SkeletalMeshComponent.cpp:2047]
UnrealEditor-Engine!USkeletalMeshComponent::ParallelAnimationEvaluation() [SkeletalMeshComponent.cpp:3974]
UnrealEditor-Engine!USkeletalMeshComponent::DoParallelEvaluationTasks_OnGameThread() [SkeletalMeshComponent.cpp:2501]
UnrealEditor-Engine!USkeletalMeshComponent::RefreshBoneTransforms(FActorComponentTickFunction *) [SkeletalMeshComponent.cpp:2400]
UnrealEditor-UnrealEd!7ff883df0000  + 220ed0
UnrealEditor-Engine!USkeletalMeshComponent::InitAnim(bool) [SkeletalMeshComponent.cpp:868]
UnrealEditor-UnrealEd!7ff883df0000  + 209971
UnrealEditor-Persona!7ff826b10000  + 85a53
UnrealEditor-Persona!7ff826b10000  + 85060
UnrealEditor-Persona!7ff826b10000  + 4f9eb7
UnrealEditor-AnimationEditor!FAnimationEditor::OpenNewAnimationDocumentTab(UAnimationAsset *) [AnimationEditor.cpp:458]
UnrealEditor-AnimationEditor!FAnimationEditor::InitAnimationEditor(EToolkitMode::Type,TSharedPtr<IToolkitHost,1> const &,UAnimationAsset *) [AnimationEditor.cpp:176]
UnrealEditor-AnimationEditor!FAnimationEditorModule::CreateAnimationEditor(EToolkitMode::Type,TSharedPtr<IToolkitHost,1> const &,UAnimationAsset *) [AnimationEditorModule.cpp:41]
UnrealEditor-EngineAssetDefinitions!UE::AnimationAsset::OpenAnimAssetEditor(TArrayView<UAnimationAsset *,int> const &,bool,EToolkitMode::Type,TSharedPtr<IToolkitHost,1>) [AssetDefinition_AnimationAsset.cpp:133]
UnrealEditor-EngineAssetDefinitions!UAssetDefinition_AnimationAsset::OpenAssets(FAssetOpenArgs const &) [AssetDefinition_AnimationAsset.cpp:142]
UnrealEditor-AssetTools!FAssetDefinitionProxy::OpenAssetEditor(TArray<UObject *,TSizedDefaultAllocator<32> > const &,EAssetTypeActivationOpenedMethod,TSharedPtr<IToolkitHost,1>) [AssetTools.cpp:244]
UnrealEditor-UnrealEd!7ff883df0000  + 12f193d
UnrealEditor-UnrealEd!7ff883df0000  + 12f1ff6
UnrealEditor-UnrealEd!7ff883df0000  + 12f1d5f
UnrealEditor-ContentBrowserAssetDataSource!ContentBrowserAssetData::EditOrPreviewAssetFileItems(TArrayView<TSharedRef<FContentBrowserAssetFileItemDataPayload const ,1> const ,int>,EAssetTypeActivationMethod::Type,EAssetTypeActivationOpenedMethod) [ContentBrowserAssetDataCore.cpp:372]
UnrealEditor-ContentBrowserAssetDataSource!ContentBrowserAssetData::EditOrPreviewItems(IAssetTools *,UContentBrowserDataSource const *,TArrayView<FContentBrowserItemData const ,int>,EAssetTypeActivationMethod::Type,EAssetTypeActivationOpenedMethod) [ContentBrowserAssetDataCore.cpp:417]
UnrealEditor-ContentBrowserAssetDataSource!UContentBrowserAssetDataSource::BulkEditItems(TArrayView<FContentBrowserItemData const ,int>) [ContentBrowserAssetDataSource.cpp:2200]
UnrealEditor-ContentBrowser!SContentBrowser::OnItemsActivated(TArrayView<FContentBrowserItem const ,int>,EAssetTypeActivationMethod::Type) [SContentBrowser.cpp:3141]
UnrealEditor-ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,1,void ,FDefaultDelegateUserPolicy>::Execute(TArrayView<FContentBrowserItem const ,int>,EAssetTypeActivationMethod::Type) [DelegateInstancesImpl.h:281]
UnrealEditor-ContentBrowser!SAssetView::OnListMouseButtonDoubleClick(TSharedPtr<FAssetViewItem,1>) [SAssetView.cpp:4081]
UnrealEditor-ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,1,void ,FDefaultDelegateUserPolicy>::ExecuteIfSafe(TSharedPtr<FAssetViewItem,1>) [DelegateInstancesImpl.h:298]
UnrealEditor-ContentBrowser!TDelegate<void ,FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>(TSharedPtr<FAssetViewItem,1>) [DelegateSignatureImpl.inl:570]
UnrealEditor-ContentBrowser!SListView<TSharedPtr<FAssetViewItem,1> >::Private_OnItemDoubleClicked(TSharedPtr<FAssetViewItem,1>) [SListView.h:1122]
UnrealEditor-ContentBrowser!STableRow<TSharedPtr<FAssetViewItem,1> >::OnMouseButtonDoubleClick(FGeometry const &,FPointerEvent const &) [STableRow.h:423]
UnrealEditor-Slate!7ff886a90000  + 10efc
UnrealEditor-Slate!7ff886a90000  + 7c431
UnrealEditor-Slate!7ff886a90000  + 6a3cf
UnrealEditor-Slate!7ff886a90000  + 5d5b5
UnrealEditor-ApplicationCore!FWindowsApplication::ProcessDeferredMessage(FDeferredWindowsMessage const &) [WindowsApplication.cpp:2235]
UnrealEditor-ApplicationCore!FWindowsApplication::DeferMessage(TSharedPtr<FWindowsWindow,1> &,HWND__ *,unsigned int,unsigned __int64,__int64,int,int,unsigned int) [WindowsApplication.cpp:2738]
UnrealEditor-ApplicationCore!FWindowsApplication::ProcessMessage(HWND__ *,unsigned int,unsigned __int64,__int64) [WindowsApplication.cpp:1099]
UnrealEditor-ApplicationCore!FWindowsApplication::AppWndProc(HWND__ *,unsigned int,unsigned __int64,__int64) [WindowsApplication.cpp:937]
USER32!7ff8fa070000  + e858
USER32!7ff8fa070000  + e299
UnrealEditor-ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages(bool) [WindowsPlatformApplicationMisc.cpp:148]
UnrealEditor!7ff6baa90000  + 76f2
UnrealEditor!7ff6baa90000  + 2d28c
UnrealEditor!7ff6baa90000  + 2d37a
UnrealEditor!7ff6baa90000  + 30854
UnrealEditor!7ff6baa90000  + 46984
UnrealEditor!7ff6baa90000  + 49d7a
KERNEL32!7ff8fa210000  + 17614
ntdll!7ff8fa710000  + 526b1

Have Comments or More Details?

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

7
Login to Vote

Fixed
ComponentUE - Anim - Runtime
Affects Versions5.3
Target Fix5.4
Fix Commit30480671
Main Commit30480671
CreatedSep 12, 2023
ResolvedJan 8, 2024
UpdatedJan 20, 2024