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