Download

Custom AnimMontage Child Class Results in Linker

I’m trying to inherit from UAnimMontage, and noticed it threw linker errors for its virtual methods such as PostLoad(), PreSave(), IsValidAdditive(), etc. if they weren’t implemented which didn’t appear to be pure virtual as far as I could tell.

I can implement overrides of the methods, however it’s throwing linker errors if attempting to call Super::.

On a sidenote, RefreshParentData() is virtual but private, so Super:: can’t be called.

Does anyone have any experience with overriding UAnimMontage or perhaps is able to help me solve why I’m getting linker errors for Super::?

1>Module.HammerAndAnvil.cpp.obj : error LNK2019: unresolved external symbol "public: virtual void __cdecl UAnimMontage::PostLoad(void)" (?PostLoad@UAnimMontage@@UEAAXXZ) referenced in function "public: virtual void __cdecl UAnimMontage_Base::PostLoad(void)" (?PostLoad@UAnimMontage_Base@@UEAAXXZ)