Crash after animation retarget with Unreal 5.4

Hi , I get crash after doing animation retarget or after replacing an animation to a different skeleton. is there a solution for this?

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 758]
Array index out of bounds: 0 into an array of size 0

UnrealEditor_DetailCustomizations
UnrealEditor_DetailCustomizations
UnrealEditor_DetailCustomizations
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_KismetWidgets
UnrealEditor_KismetWidgets
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore

2 Likes

Greetings @JeusWicked

The error you’re running into with the ā€˜Array index out of bounds: 0 into an array of size 0’ is usually indicating something is being called that doesn’t exist. When replacing an animation I’d check to make sure nothing is calling for your old animation file name/path etc.

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 758]
Array index out of bounds: 69 into an array of size 69

UnrealEditor_DetailCustomizations
UnrealEditor_DetailCustomizations
UnrealEditor_DetailCustomizations
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_KismetWidgets
UnrealEditor_KismetWidgets
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

I got the same issue. Do you find any fix? every time I open specific animation it’s crashed in instant.

I was having this same issue. I had a set of animations that I had retargeted from the UE4 mannequin onto a Mixamo skeleton in UE 5.3. After I upgraded the project to UE 5.4.1 it would crash each time I tried to open one of them in the animation sequencer.

I tried two things, not sure which of them fixed the issue but I can now open those animations without crashing.

  1. Right click on the folder containing your retargeted animations and choose ā€œUpdate Redirector Referencesā€, delete any unreferenced redirectors. I also did this on the folder with the original animations.
  2. Right click on the folder containing your retargeted animations and choose ā€œValidate Assets in Folderā€.

Hopefully that helps!

Same issue here with mixamo! thanks for the heads up. I tried the fixes, but I still crash unfortunately. I’m assuming it’s a bug. I also reproduced this with an epic skeleton.
Edit: one last update. It appears to only happen when retargeting animations from the UE4 mannequin. I successfully retarget animations from the ue5 mannequin to my rig and I have no issues opening the animations.

Same issue with Paragon Khaimera character. When I retarget Khaimera’s melee attack to SKM_Manny, and try to open that animation I get same crash.

Same issue even new UE4 skeleton leads to crash

How to reproduce issue

  1. ā€œadd feature or content packā€ → ThirdPerson → AddToProject
  2. try to replace skeleton on animation → crash

Will try to export and than import with required skeleton but that sucks

I don’t even get to Retarget the animations ! :frowning: Every time when I Right Click, and select Retarget Animation, it crashes ! It’s definitely a bug, because few days ago I was doing this without any problems, but now … I’m getting too frustrated …