Generated from CrashReporter

1 user reported:
"Crash when using "Toggle watch pose" in any node of the animation blueprint. The crash happens when you save the ABP after enabling toggle watch pose and you reopen it."

Steps to Reproduce

1. Open the Lyra project.
2. Create an empty Animation Blueprint for the mannequin skeleton.
3. Open the ABP and add one "play" node for some animation sequence (e.g. MM_Rifle_Idle_Hipfire).
4. Connect the animation node to the output.
5. Right click the animation node and enable "Toggle watch pose".
6. Compile and save the animation blueprint.
7. Close the animation blueprint.
8. Reopen the animation blueprint.

Expected Results:
The animation blueprint opens without issue.

Actual Results:
The Editor crashes.

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 763] Array index out of bounds: 118 from an array of size 114
UnrealEditor-Engine!SkeletalDebugRendering::DrawBonesFromPoseWatch(FPrimitiveDrawInterface *,FAnimNodePoseWatch const &,bool) [SkeletalDebugRendering.cpp:213]
UnrealEditor-Engine!FSkeletalMeshSceneProxy::DebugDrawPoseWatchSkeletons(int,FMeshElementCollector &,FEngineShowFlags const &) [SkeletalMesh.cpp:6800]
UnrealEditor-Engine!FSkeletalMeshSceneProxy::GetMeshElementsConditionallySelectable(TArray<FSceneView const *,TSizedDefaultAllocator<32> > const &,FSceneViewFamily const &,bool,unsigned int,FMeshElementCollector &) [SkeletalMesh.cpp:6269]
UnrealEditor-UnrealEd!7ff9b71b0000  + 14aba4
UnrealEditor-Renderer!7ff9a2bf0000  + d89047
UnrealEditor-Renderer!7ff9a2bf0000  + d73df0
UnrealEditor-Renderer!7ff9a2bf0000  + d9007b
UnrealEditor-Renderer!7ff9a2bf0000  + 22a31d
UnrealEditor-Renderer!7ff9a2bf0000  + da8d30
UnrealEditor-Renderer!7ff9a2bf0000  + d5fe5a
UnrealEditor-Renderer!7ff9a2bf0000  + d7b741
UnrealEditor-Renderer!7ff9a2bf0000  + d83548
UnrealEditor-Core!FNamedTaskThread::ProcessTasksNamedThread(int,bool) [TaskGraph.cpp:760]
UnrealEditor-Core!FNamedTaskThread::ProcessTasksUntilQuit(int) [TaskGraph.cpp:649]
UnrealEditor-RenderCore!7ff9f62a0000  + 18f0f4
UnrealEditor-RenderCore!7ff9f62a0000  + 193444
UnrealEditor-Core!FRunnableThreadWin::Run() [WindowsRunnableThread.cpp:149]
UnrealEditor-Core!FRunnableThreadWin::GuardedRun() [WindowsRunnableThread.cpp:79]
KERNEL32!7ffa18ed0000  + 155a0
ntdll!7ffa1a4a0000  + 485b

Have Comments or More Details?

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

Login to Vote

Cannot Reproduce
ComponentUE - Anim - Runtime
Affects Versions5.1
Target Fix5.4
Main Commit23676600
CreatedJan 3, 2023
ResolvedFeb 12, 2024
UpdatedFeb 26, 2024