AnimInstance Crash on Inherited Anim Blueprints

Hi all,
We’ve been getting a lot of crashes related to our inherited anim blueprints. We have a bunch of character blueprints for our different character types, and all of those character types have different skeletal meshes with different anim blueprints that all inherit from the anim blueprint on our base class BP.

We’re crashing in AnimIntance.cpp on line 256:

RootNode = AnimBlueprintClass->RootAnimNodeProperty->ContainerPtrToValuePtr<FAnimNode_Base>(this);

Which seems to be hitting the assert in a macro in UnrealType.h line 304. That’s giving the error:

Assertion failed: ((UObject*)ContainerPtr)->IsA((UClass*)GetOuter()) [File:D:\MyProject\UnrealEngine\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h] [Line: 304] 
'BP_MyChild_Anim_C_1' is of class 'BP_MyChild_Anim_C' however property 'StructProperty_4665' belongs to class 'TRASHCLASS_BP_MyParent_Anim_651'

I changed BP names, to MyParent/MyChild from the actual names, but that’s the gist of it.

The format of the classes looks kind of like this (Sorry, that’s the best way I can think to show it for now. I’ll try to make it in word and take a picture that actually makes more sense):

BP_MyParent_Anim::UAnimInstance

BP_MyChild_Anim::BP_MyParent_Anim

BP_MyParent::Character

  • Skeletal Mesh
    • BP_MyParent_Anim

BP_MyChild::BP_MyParent

  • Skeletal Mesh
    • BP_MyChild_Anim

Hi mrooney,

Can you send us the callstack that you’re getting? MachineID/EpicID would be helpful too if you’re submitting it through the crashreporter.

-.

Hiya, Sorry for taking a bit. Attaching my callstack. I just edited out the name of the gamemode since it contains the project name.

link text

I’m actually not getting the crash report dialogue popping up at all.

Hey mrooney,

Is there any way you could migrate your assets to a blank project and send me the files? I’m having trouble reproducing this locally.

You can upload them to cloud storage and PM me the link on the forums if you’d like to keep it private.

-.

Hrm. Lemme ask the powers above and see if they’ll let me. :confused:

Hey mrooney,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

-.

Yea, it’s still an issue that comes up, but it’s been less frequently an issue. It’s no longer super critical, so this is best for now :slight_smile: Thanks much for your help!

Feel free to re-open this whenever you’re able to help us continue investigating. We’d like to get this resolved as soon as possible.