# \[4.25\] How to Fix Animation Compression Crashes \[SOLVED\]

**URL:** <https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [May 9, 2020, 11:43am UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162 "2020-05-09T11:43:46Z")\
**Posts on this page:** 19\
**Page:** 2

<div class="post-metadata">

**Author:** ![imnomad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@imnomad](https://forums.unrealengine.com/u/imnomad)\
**Post date:** [March 4, 2021, 2:53pm UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/21 "2021-03-04T14:53:44Z")

</div>

Im bumping this since i really need to resolve this and i am out of ideas…

---

<div class="post-metadata">

**Author:** ![Narg666](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/narg666/32/870597_2.png) [@Narg666](https://forums.unrealengine.com/u/Narg666)\
**Post date:** [March 10, 2021, 7:10am UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/22 "2021-03-10T07:10:30Z")

</div>

> [@imnomad](#):
>
> Im bumping this since i really need to resolve this and i am out of ideas…

We have to hope for a dev to step in and help us

---

<div class="post-metadata">

**Author:** ![unit23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unit23/32/1223962_2.png) [@unit23](https://forums.unrealengine.com/u/unit23)\
**Post date:** [March 12, 2021, 3:59pm UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/23 "2021-03-12T15:59:35Z")

</div>

> [@Narg666](#):
>
> This bug has me stuck with UE4 4.23 since forever
> 
> I’m extremely disappointed.

> [@imnomad](#):
>
> Im bumping this since i really need to resolve this and i am out of ideas…

Guys as I have explained, this issue is very likely due to corrupted files, in my case the culprit was a faulty ssd. To resolve this start removing folders ( and or default configs) and use the launch in editor feature to get notices of potential files causing the issue. Good luck!

---

<div class="post-metadata">

**Author:** ![aWinter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aWinter](https://forums.unrealengine.com/u/aWinter)\
**Post date:** [March 30, 2021, 3:31pm UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/24 "2021-03-30T15:31:39Z")

</div>

Not sure how this is solved or explained. Or how your faulty SSD is related to this issue. At your “working” config, you have EDL disabled, at the “faulty” config you have EDL enabled.

[https://forums.unrealengine.com/core/image/gif;base64](https://forums.unrealengine.com/core/image/gif;base64)  
​

So all it seems to come down to is to disable EDL, as that’s whats causing issue with else completely fine Animations. What is interesting though, is that you use Mixamo Animations, which are used in the Project where I got the Error as well. If other people who are having that issue are using Mixamo Animations, it would be a hint that EDL has some issue with those Animations for whatever reason.

All in all this seems like a Engine Bug, I don’t know where you take the confidence from, that it’s related to corrupted files.

---

<div class="post-metadata">

**Author:** ![unit23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unit23/32/1223962_2.png) [@unit23](https://forums.unrealengine.com/u/unit23)\
**Post date:** [March 31, 2021, 1:11pm UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/25 "2021-03-31T13:11:05Z")

</div>

> [@aWinter](#):
>
> Not sure how this…

1. Consider animation errors a smoke screen, you can remove them but the error will randomly report others.
2. Also not related to a specific animator source.
3. Event Driven Loader was disabled since it offers a few more pointers in regards to debugging / errors.
4. Using a default config may help to pinpoint the error source.
5. When a new engine version is released, usually most files get updated, in the process errors may surface, which however were dormant for longer periods already.
6. Removing project folders is another method to narrow down the source of the problem. Usually meshes or textures, none code involved assets may be corrupted, blueprint code on the other hand may suggest a code issue.
7. The launch feature is another important method to debug in real-time, when observing the output log.

Thus, use mentioned methods and eventually clean config files to find the bugs.

---

<div class="post-metadata">

**Author:** ![aWinter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aWinter](https://forums.unrealengine.com/u/aWinter)\
**Post date:** [April 1, 2021, 12:08pm UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/26 "2021-04-01T12:08:49Z")

</div>

So what was the issue in your case then? How did you fix it? Above you mostly mention how you tried to track it down, but failed and seemed to be irrelevant except your config file - where the only relevant difference seem to be having EDL disabled, which brings us back to the start.

> [@unit23](#):
>
> After working awhile with content, today when testing the build the Animation Compression error came back! … First\*\* I thought this must be another corruption\*\* not previously discovered (also had a corrupt system SSD), but all seemed fine… Then I tried to launch with the previous **working Engine.ini** , and voila it works again. **I know, super strange, right?**
> 
> So if someone else comes across this issue, check the **working Engine.ini** , perhaps it helps you too? \*Collision profiles omitted.

working engine ini = EDL Disabled.

---

<div class="post-metadata">

**Author:** ![Mrgreenm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mrgreenm](https://forums.unrealengine.com/u/Mrgreenm)\
**Post date:** [May 13, 2021, 9:45am UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/27 "2021-05-13T09:45:03Z")

</div>

Can say exactly: 1) Unit23 introduced everyone in delusion and marked the topic as SLOVED, and it is bad. His problem is not related to ours. The Harddisk is definitely not to blame.  
2) New Animation Compressor crash with Mixamo Animations  
3) Why are so few people with this problem? No one uses Mixamo animation in their projects other than us?

---

<div class="post-metadata">

**Author:** ![Narg666](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/narg666/32/870597_2.png) [@Narg666](https://forums.unrealengine.com/u/Narg666)\
**Post date:** [May 18, 2021, 1:52pm UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/28 "2021-05-18T13:52:58Z")

</div>

I have this issue too and I haven’t been able to fix it. I’m still using UE 4.23 because of this exact issue.

---

<div class="post-metadata">

**Author:** ![Mrgreenm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mrgreenm](https://forums.unrealengine.com/u/Mrgreenm)\
**Post date:** [May 26, 2021, 8:14am UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/29 "2021-05-26T08:14:35Z")

</div>

Tell me how to contact EPIC. The problem exists and we need to ask them about help.

---

<div class="post-metadata">

**Author:** ![imnomad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@imnomad](https://forums.unrealengine.com/u/imnomad)\
**Post date:** [June 27, 2021, 2:16am UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/30 "2021-06-27T02:16:33Z")

</div>

any update on this?

---

<div class="post-metadata">

**Author:** ![DLROKen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DLROKen](https://forums.unrealengine.com/u/DLROKen)\
**Post date:** [July 13, 2021, 2:00pm UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/31 "2021-07-13T14:00:08Z")

</div>

The issue is a bug that they fixed for Shipping builds, but some oversite made them forget to fix the bug in Dev builds. We had this happen in a Point and Click game where we were using Widgets as Cursors. The entire issue with what you think are broken assets is a false positive, a red-herring. The real fix in our case was to move the Cursor Widget the folder Contend/Slate. Slate is the subengine that draws widgets and we were using Widgets as Cursors.

---

<div class="post-metadata">

**Author:** ![Shestoperov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shestoperov](https://forums.unrealengine.com/u/Shestoperov)\
**Post date:** [September 16, 2021, 5:00pm UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/33 "2021-09-16T17:00:14Z")

</div>

Just make a Fix Up Redirectors in folder for the Content folder

---

<div class="post-metadata">

**Author:** ![drb1992](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@drb1992](https://forums.unrealengine.com/u/drb1992)\
**Post date:** [September 27, 2021, 11:50pm UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/34 "2021-09-27T23:50:54Z")

</div>

Edit:  
I’ve managed to fix it. The root problem of this error is the bone compression settings are not being loaded properly. From my understanding, they are loaded when this function is called.

UAnimBoneCompressionSettings::GetPreloadDependencies()

And that event is only called when EDL is enabled, so if you have it disabled, you must enable it and fix any errors EDL may give you. For me, EDL caused issues if I called  
ConstructorHelpers::FObjectFinder\<\>  
in the constructor of a class. So my solution was to either remove all  
ConstructorHelpers::FObjectFinder\<\>  
calls or move them from the Constructor to BeginPlay or Init functions.

---

<div class="post-metadata">

**Author:** ![Thezigner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thezigner](https://forums.unrealengine.com/u/Thezigner)\
**Post date:** [January 14, 2022, 1:04am UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/35 "2022-01-14T01:04:04Z")

</div>

You saved my project!! Thank you!!!

---

<div class="post-metadata">

**Author:** ![zane\_dev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zane\_dev](https://forums.unrealengine.com/u/zane_dev)\
**Post date:** [January 26, 2022, 4:52pm UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/36 "2022-01-26T16:52:47Z")

</div>

@Thezigner Can you explain how you ended up fixing your issue?

---

<div class="post-metadata">

**Author:** ![zane\_dev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zane\_dev](https://forums.unrealengine.com/u/zane_dev)\
**Post date:** [January 26, 2022, 5:34pm UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/37 "2022-01-26T17:34:27Z")

</div>

Never mind, I was able to figure it out.

For anyone else wondering how to fix this issue, follow these steps:

1. In your `<PROJECT>/Config/` folder, edit the `DefaultEngine.ini` file and include the following piece of text under the `[/Script/Engine.StreamingSettings]` header: `s.EventDrivenLoaderEnabled=True`

2. Rebuild the environment, and this time, the build should fail, yet point to a different error: `PackagingResults: Error: EDL dep graph contained a cycle (see errors, above). This is fatal at runtime so it is fatal at cook time.`

3. Review the log (or find in `C:\Users\<USER>\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_<VERSION>`), and just above the line that reads `UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: === Critical error: ===`, it should point to the trouble object.

4. For lack of a better solution, I deleted the object from my environment, and I was able to rebuild and launch my game.

Cheers!

---

<div class="post-metadata">

**Author:** ![lijinfeng](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lijinfeng](https://forums.unrealengine.com/u/lijinfeng)\
**Post date:** [October 29, 2022, 8:39am UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/38 "2022-10-29T08:39:42Z")

</div>

#define EXCLUDE\_NONPAK\_UE\_EXTENSIONS 0

---

<div class="post-metadata">

**Author:** ![hnkattur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hnkattur](https://forums.unrealengine.com/u/hnkattur)\
**Post date:** [November 24, 2022, 12:28pm UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/39 "2022-11-24T12:28:05Z")

</div>

There is no [/Script/Engine.StreamingSettings] in the ue5 version can help me through?  
Also I can’t enable EDL I searched it on the internet but there is nothing about it.

---

<div class="post-metadata">

**Author:** ![purgatory](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@purgatory](https://forums.unrealengine.com/u/purgatory)\
**Post date:** [October 22, 2024, 1:24pm UTC](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162/40 "2024-10-22T13:24:10Z")

</div>

Using Blender/ Using NLA Animation Strips

I had this issue. It was solved by creating separate tracks for each animation strip. For instance if I had 3 animations. If I wanted to repeat Animation 1 3 times, i initially placed each Animation on the same track one after the other. This created the problem. When i placed Animation 1 on different tracks one after the other it solved the compression issue.

[Previous page](https://forums.unrealengine.com/t/4-25-how-to-fix-animation-compression-crashes-solved/143162.md?page=1)
