Template animation BP class hierarchy build/cook issue

We’re using ABP templates in the following way

This is flexible and powerful reuse we’ve found. The base class contains commonalities to both mobs and players (e.g. locomotion), and the templates specialize for toons and mobs. Individuals then derive off those two. Works great, with an interesting twist that some events only propagate to the base class, not the templates.

Anyhow the problem is doing a full build and cook, running

UnrealEditor.exe Game.uproject -run=CompileAllBlueprints

crashes in

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

The last line is where the check fails and crashes - and of course in game PIE compiles and works just fine.

What to think of this? Is this kind of derivation not supported (even though it is technically), or is this an engine issue?

1 Like

Hi @Redtide_Games , did you manage to solve this problem? I have a similar issue, care to share some insights?