Crash if I touch my walk animation

A few weeks ago I came across an issue where if I try to open or delete my character default first person
walk animation (to implement footstep sfx), my Unreal Engine crashes, I would simply either like to replace it or delete it, however trying either just crashes my UE5, please help!

Hey @EerieVisionStudios!

I would say that is likely a corrupted file. :frowning:
(Always back up your project for cases like this!)

So if you don’t have a backup, you may be able to fix it by using the engine verifier in the launcher, as from what little I can read of the log makes me think it might be an issue in the engine:

image

If that doesn’t work, you can try making a new FP project and migrating over the animation files!

I tried verifying etc, and migrating from another project, this is the log got:

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
UnrealEditor_AnimationData
UnrealEditor_AnimationData
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_AnimGraph
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_Persona
UnrealEditor_Persona
UnrealEditor_Persona
UnrealEditor_AnimationEditor
UnrealEditor_AnimationEditor
UnrealEditor_AnimationEditor
UnrealEditor_EngineAssetDefinitions
UnrealEditor_EngineAssetDefinitions
UnrealEditor_AssetTools
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_ContentBrowserAssetDataSource
UnrealEditor_ContentBrowserAssetDataSource
UnrealEditor_ContentBrowserAssetDataSource
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

Hey again! Sorry for the late reply, I was out for the weekend.

Okay! So you have a different issue but at least it is SOMEWHAT of a cause we can trace!

So somewhere, be it within the code you’ve made, the programming of the animation, or the engine, there is an array asking for index 68 where the indices only go to 67. It could have something to do with the file you are using, but if you migrated files from a working copy it seems less likely.

Did you test after verifying but before migrating from another project? Do we know which action caused a change?

OB1 is probably an engine build bug.
Though rare, as one would think some sort of Unit Testing is in place on the engine before release?

@EerieVisionStudios
You should install the symbols to debug this.

The current stack trace is screaming at either the engine or the animation data.
It would be helpful to know what c++ file to dig out of the git to verify this.

if the animation itself is somehow at fault.
Something like deleting the animation without opening it would not cause any error.

If you are 100% stuck.
Delete the animation .uasset file from disk.

The BPs will fail to build until you replace the animation, but it should stop the engine crashing.

1 Like

Heya, thankyou for the reply!
I deleted the animaiton file on a clone and it’s causing it to crash every time i attempt to load the project:

"Assertion failed: Pair != nullptr [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Map.h] [Line: 658]

UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll:

Just a guess here.
The level you load in includes a direct reference to the character?

If so, you need to set the opening level in the .ini to be a default empty level.

Until you fix the deleted animation, you will have issues when loading the BP/animation/character etc.

Technicallly, the issue will only be an issue if the animation is being accessed or if the BP attempts to access the animation.
In most cases (persona) only loads the idle pose, so it shojld not crash, which should allow you to fix the issue.

Dude I think it’s too late to answer this question now but rencently the same problem just showed up in my pc too. it’s so silly to say but you just have to change the name of that walking animation.

4 Likes

My god, this actually fixed it for me too

Hey I found a solution which works in my case, which is to just delete the everything in the “FirstPersonArms\Character\Mesh” After that you can delete the walk animation without issues

WTF??? :rofl: It works for me too. Thank you a lot

1 Like

Hey @EerieVisionStudios, did @Unreife’s solution work for you?

Let us know for future answer seekers!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.