I want to make custom blendspace for SLerp. Because It forward and right root motion blending looks slow.
Anyway, I created new C++ classess that inherits UBlendSpace But It immediatly makes LNK2001 error. Here’s example.
MyBlendSpace.gen.cpp.obj : error LNK2001: “public: virtual void __cdecl UBlendSpace::PostLoad(void)” (?PostLoad@UBlendSpace@@UEAAXXZ)
MyBlendSpace.gen.cpp.obj : error LNK2001: “public: virtual void __cdecl UBlendSpace::Serialize(class FArchive &)” (?Serialize@UBlendSpace@@UEAAXAEAVFArchive@@@Z)
MyBlendSpace.gen.cpp.obj : error LNK2001: “public: virtual void __cdecl UBlendSpace::PreEditChange(class FProperty *)” (?PreEditChange@UBlendSpace@@UEAAXPEAVFProperty@@@Z)
.
.
.
.
Failed to link patch (0.000s) (Exit code: 0x460)
Errors came from method. Every method are virtual method and none of them have ENGINE_API.
Does UBlendSpace not allowed to inherit or reused?
This is UE 5.4