# Editor crash (array out of bounds) evaluating an Anim Blueprint with input pose on a MetaHuman head mesh 

**URL:** <https://forums.unrealengine.com/t/editor-crash-array-out-of-bounds-evaluating-an-anim-blueprint-with-input-pose-on-a-metahuman-head-mesh/2857256>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** unreal-engine\
**Created:** [November 17, 2026, 6:17pm UTC](https://forums.unrealengine.com/t/editor-crash-array-out-of-bounds-evaluating-an-anim-blueprint-with-input-pose-on-a-metahuman-head-mesh/2857256 "2026-11-17T18:17:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![drahgon55](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@drahgon55](https://forums.unrealengine.com/u/drahgon55)\
**Post date:** [November 17, 2026, 6:17pm UTC](https://forums.unrealengine.com/t/editor-crash-array-out-of-bounds-evaluating-an-anim-blueprint-with-input-pose-on-a-metahuman-head-mesh/2857256/1 "2026-11-17T18:17:46Z")

</div>

### Summary

UAnimPoseExtensions::EvaluateAnimationBlueprintWithInputPose (Python: unreal.AnimPoseExtensions.evaluate\_animation\_blueprint\_with\_input\_pose) asserts and closes the editor when the target skeletal mesh’s required-bones set is smaller than the mesh’s bone count. A MetaHuman head mesh with ABP\_Face\_PostProcess reproduces it every time. A MetaHuman body mesh with ABP\_Body\_PostProcess works, because every bone is required there. The assertion cannot be caught from Blueprint or Python, so the whole editor goes down with any unsaved work.

### What Type of Bug are you experiencing?

Animation

### Steps to Reproduce

1. Create a MetaHuman with the MetaHuman Creator plugin and assemble it, so the project has its head skeletal mesh (Face\_Archetype\_Skeleton) and /MetaHumanCharacter/Face/ABP\_Face\_PostProcess.
2. Create any AnimSequence on the face skeleton (a few frames; its content does not matter).
3. Run this in the editor’s Python console (fill in the two asset paths):

import unreal  
mesh = unreal.load\_asset(‘/Game//’)  
anim = unreal.load\_asset(‘/Game//’)  
abp = unreal.load\_object(None, ‘/MetaHumanCharacter/Face/ABP\_Face\_PostProcess.ABP\_Face\_PostProcess’)  
X = unreal.AnimPoseExtensions  
opt = unreal.AnimPoseEvaluationOptions()  
opt.set\_editor\_property(‘optional\_skeletal\_mesh’, mesh)  
pose = X.get\_anim\_pose\_at\_frame(anim, 0, opt)  
out = X.evaluate\_animation\_blueprint\_with\_input\_pose(pose, mesh, abp) # editor crashes here

### Expected Result

The output pose is filled with the blueprint’s result, or the function logs an error and returns. It should not assert.

### Observed Result

The editor crashes: “Assertion failed: (Index \>= 0) & (Index \< ArrayNum) [File:Runtime/Core/Public/Containers/Array.h] [Line: 1339] Array index out of bounds: 737 into an array of size 737”, raised from FBoneContainer::GetParentBoneIndex called by FAnimPose::Init.

### Affects Versions

5.8

### Platform(s)

Mac

### For crash reports, include your callstack

Assertion failed: (Index \>= 0) & (Index \< ArrayNum) [File:Runtime/Core/Public/Containers/Array.h] [Line: 1339]  
Array index out of bounds: 737 into an array of size 737

libUnrealEditor-Core.dylib!FDebug::CheckVerifyFailedImpl2(char const\*, char const\*, int, char16\_t const\*, …)  
libUnrealEditor-Engine.dylib!FBoneContainer::GetParentBoneIndex(FCompactPoseBoneIndex const&) const  
libUnrealEditor-AnimationBlueprintLibrary.dylib!FAnimPose::Init(FBoneContainer const&)  
libUnrealEditor-AnimationBlueprintLibrary.dylib!UAnimPoseExtensions::EvaluateAnimationBlueprintWithInputPose(FAnimPose const&, USkeletalMesh\*, UAnimBlueprint\*, FAnimPose&)  
libUnrealEditor-AnimationBlueprintLibrary.dylib!UAnimPoseExtensions::execEvaluateAnimationBlueprintWithInputPose(UObject\*, FFrame&, void\*)  
libUnrealEditor-CoreUObject.dylib!UFunction::Invoke(UObject\*, FFrame&, void\*)  
libUnrealEditor-CoreUObject.dylib!UObject::ProcessEvent(UFunction\*, void\*)  
libUnrealEditor-PythonScriptPlugin.dylib!PyUtil::InvokeFunctionCall(UObject\*, UFunction const\*, void\*, char16\_t const\*)  
libUnrealEditor-PythonScriptPlugin.dylib!FPythonScriptPlugin::ExecPythonCommandEx(FPythonCommandEx&)  
libUnrealEditor-PythonScriptPlugin.dylib!FPythonScriptRemoteExecutionCommandConnection::Tick(float)  
UnrealEditor!FEngineLoop::Tick()

### Additional Notes

Likely cause, from the 5.8 source (Engine/Source/Editor/AnimationBlueprintLibrary/Private/AnimPose.cpp, FAnimPose::Init):

for (const FBoneIndexType BoneIndex : InBoneContainer.GetBoneIndicesArray())  
{  
const FCompactPoseBoneIndex CompactIndex(BoneIndex);  
const FCompactPoseBoneIndex CompactParentIndex = InBoneContainer.GetParentBoneIndex(CompactIndex);  
…  
RefLocalSpacePoses.Add(InBoneContainer.GetRefPoseTransform(FCompactPoseBoneIndex(BoneIndex)));

GetBoneIndicesArray() holds mesh pose bone indices, one per compact pose bone, but the loop uses each value as a compact pose index. The two only coincide when every bone of the mesh is required. In EvaluateAnimationBlueprintWithInputPose the container is AnimInstance-\>GetRequiredBones() of a temporary component; for the MetaHuman head it holds 737 bones while the mesh has more, so a mesh index of 737 or above indexes the 737-entry compact parent array. Where it does not assert, the same loop would pair the wrong parents and reference transforms whenever the required set has gaps.

Suggested fix: iterate compact indices (0 .. GetCompactPoseNumBones()-1) and pass that FCompactPoseBoneIndex to GetParentBoneIndex, GetSkeletonIndex and GetRefPoseTransform.

Seen on macOS (Apple Silicon), launcher build of 5.8; the code is platform independent. Workaround: none from script; we stopped calling the function on face meshes.
