# Assertion failed: ParentAnimClass-\>GetSparseClassDataStruct() \[File:D:\\build++UE5\\Sync\\Engine\\Source\\Editor\\AnimGraph\\Private\\AnimBlueprintCompiler.cpp\] \[Line: 1268\]

**URL:** <https://forums.unrealengine.com/t/assertion-failed-parentanimclass-getsparseclassdatastruct-file-build-ue5-sync-engine-source-editor-animgraph-private-animblueprintcompiler-cpp-line-1268/723466>\
**Category:** Blueprint\
**Tags:** unreal-engine, editor, Blueprint, CPP\
**Created:** [December 7, 2022, 4:43pm UTC](https://forums.unrealengine.com/t/assertion-failed-parentanimclass-getsparseclassdatastruct-file-build-ue5-sync-engine-source-editor-animgraph-private-animblueprintcompiler-cpp-line-1268/723466 "2022-12-07T16:43:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![feur25](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@feur25](https://forums.unrealengine.com/u/feur25)\
**Post date:** [December 7, 2022, 4:43pm UTC](https://forums.unrealengine.com/t/assertion-failed-parentanimclass-getsparseclassdatastruct-file-build-ue5-sync-engine-source-editor-animgraph-private-animblueprintcompiler-cpp-line-1268/723466/1 "2022-12-07T16:43:01Z")

</div>

![MicrosoftTeams-image_2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/1/1915a2f9fa10965aac5642b2398121ab92303363.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/b/debf3f38f403166af15cb5f611274acca4a0cd7e.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/0/5b074ed7cc8f48d5510f2b8b2479766f424ab23b.png)  
In case for those who had this error here is how to solve it download the three files then go:

1. D:\UE\_5.0\Engine\Source\Editor\AnimGraph\Private  
and replace all the files you downloaded  
[Debug Error Ue5 - Google Drive](https://drive.google.com/drive/folders/1IN8JwUcFFJhvgg8J8nUiQYwSZva3ezEd?usp=sharing)

---

<div class="post-metadata">

**Author:** ![BenVlodgi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benvlodgi/32/1194567_2.png) [@BenVlodgi](https://forums.unrealengine.com/u/BenVlodgi)\
**Post date:** [June 26, 2023, 7:49pm UTC](https://forums.unrealengine.com/t/assertion-failed-parentanimclass-getsparseclassdatastruct-file-build-ue5-sync-engine-source-editor-animgraph-private-animblueprintcompiler-cpp-line-1268/723466/2 "2023-06-26T19:49:16Z")

</div>

> [@feur25](#):
>
> those who had this error here is how

I just checked. These files are the normal 5.0 versions.

I am having the same issue.

---

<div class="post-metadata">

**Author:** ![wilku7411](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wilku7411](https://forums.unrealengine.com/u/wilku7411)\
**Post date:** [August 4, 2023, 4:08pm UTC](https://forums.unrealengine.com/t/assertion-failed-parentanimclass-getsparseclassdatastruct-file-build-ue5-sync-engine-source-editor-animgraph-private-animblueprintcompiler-cpp-line-1268/723466/3 "2023-08-04T16:08:57Z")

</div>

Had the same issue, one of the animation blueprints in the hierarchy got corrupted and corrupted all of it’s children.  
I suspect that it was created as a duplicate, rather than by right clicking on parent and creating a child blueprint class.

What solved the problem for me was recreating that part of hierarchy.

UAnimInstance

- UMyAnimInstance
- 
  - ABP\_Base

- 
  - 
    - ABP\_Player

- 
  - 
    - ABP\_Enemy (this one was corrupted)

- 
  - 
    - 
      - ABP\_Enemy\_A (so that this one couldn’t reach parent’s sparse class data struct)

Tried out re-saving the asset, refreshing all nodes, setting all of the settings to defaults, save - exit - open, no result. Only newly created ABP\_Enemy and ABP\_Enemy\_A fixed the issue.

Hope it helps, and you don’t have too much to copy&paste there 😛

---

<div class="post-metadata">

**Author:** ![Kremplen1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kremplen1](https://forums.unrealengine.com/u/Kremplen1)\
**Post date:** [September 12, 2024, 8:42pm UTC](https://forums.unrealengine.com/t/assertion-failed-parentanimclass-getsparseclassdatastruct-file-build-ue5-sync-engine-source-editor-animgraph-private-animblueprintcompiler-cpp-line-1268/723466/4 "2024-09-12T20:42:07Z")

</div>

The link doesn’t work, please help!

---

<div class="post-metadata">

**Author:** ![DiaviceGaming](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DiaviceGaming](https://forums.unrealengine.com/u/DiaviceGaming)\
**Post date:** [April 18, 2025, 2:27pm UTC](https://forums.unrealengine.com/t/assertion-failed-parentanimclass-getsparseclassdatastruct-file-build-ue5-sync-engine-source-editor-animgraph-private-animblueprintcompiler-cpp-line-1268/723466/5 "2025-04-18T14:27:25Z")

</div>

Dead link ):

---

<div class="post-metadata">

**Author:** ![MRookie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MRookie](https://forums.unrealengine.com/u/MRookie)\
**Post date:** [May 4, 2026, 3:43am UTC](https://forums.unrealengine.com/t/assertion-failed-parentanimclass-getsparseclassdatastruct-file-build-ue5-sync-engine-source-editor-animgraph-private-animblueprintcompiler-cpp-line-1268/723466/6 "2026-05-04T03:43:21Z")

</div>

I might be late to the party, I just encountered this error. (my suspicion) What triggered it for me was overriding the **EventBlueprintInitializeAnimation** on the AnimLayers blueprint and not calling parent function.

But once triggered it didn’t go away until I added a boolean **bHasBaseAnim**. So on **EventBlueprintInitializeAnimation** I check if base anim is valid and only then allow the update functions to run.

On **BlueprintThreadSafeUpdateAnimation** I have a branch connected to **bHasBaseAnim** that locks any further update afterwise.

Now I can compile the base anim without problems.

EDIT : Turns out it was overriding a threadsafe function in child AnimBP. Removing the override and restrating editor fixes the issue.

---

<div class="post-metadata">

**Author:** ![IXUILEH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IXUILEH](https://forums.unrealengine.com/u/IXUILEH)\
**Post date:** [May 29, 2026, 4:32am UTC](https://forums.unrealengine.com/t/assertion-failed-parentanimclass-getsparseclassdatastruct-file-build-ue5-sync-engine-source-editor-animgraph-private-animblueprintcompiler-cpp-line-1268/723466/7 "2026-05-29T04:32:02Z")

</div>

Just got this issue today. I try to migrate a package of animations to the other project, but I mistakenly include a bunch of the ABP\_xxx files which BlueprintThreadSafeUpdateAnimation in it. So to solve it, I cannot delete them in the UE5.7 Editor, it will crash the whole editor. I have to go to Explorer and delete them mannully in the folder, and that works.

Hope this might help someothers run into similar issue.
