Error extending physics constraint actor

Error 1 error LNK2001: unresolved external symbol “public: virtual void __cdecl APhysicsConstraintActor::PostLoad(void)” (?PostLoad@APhysicsConstraintActor@@UEAAXXZ) G:\UE4 Projects 46\UMGInventoryDemoS 4.7\Intermediate\ProjectFiles\MyPhysicsConstraintActor.cpp.obj UMGInventoryDemoS
Error 2 error LNK2001: unresolved external symbol “public: virtual void __cdecl APhysicsConstraintActor::PostLoad(void)” (?PostLoad@APhysicsConstraintActor@@UEAAXXZ) G:\UE4 Projects 46\UMGInventoryDemoS 4.7\Intermediate\ProjectFiles\MyPhysicsConstraintActor2.cpp.obj UMGInventoryDemoS
Error 3 error LNK2001: unresolved external symbol “public: virtual void __cdecl APhysicsConstraintActor::PostLoad(void)” (?PostLoad@APhysicsConstraintActor@@UEAAXXZ) G:\UE4 Projects 46\UMGInventoryDemoS 4.7\Intermediate\ProjectFiles\UMGInventoryDemoS.generated.cpp.obj UMGInventoryDemoS
Error 4 error LNK2001: unresolved external symbol “public: virtual void __cdecl APhysicsConstraintActor::LoadedFromAnotherClass(class FName const &)” (?LoadedFromAnotherClass@APhysicsConstraintActor@@UEAAXAEBVFName@@@Z) G:\UE4 Projects 46\UMGInventoryDemoS 4.7\Intermediate\ProjectFiles\MyPhysicsConstraintActor.cpp.obj UMGInventoryDemoS
Error 5 error LNK2001: unresolved external symbol “public: virtual void __cdecl APhysicsConstraintActor::LoadedFromAnotherClass(class FName const &)” (?LoadedFromAnotherClass@APhysicsConstraintActor@@UEAAXAEBVFName@@@Z) G:\UE4 Projects 46\UMGInventoryDemoS 4.7\Intermediate\ProjectFiles\MyPhysicsConstraintActor2.cpp.obj UMGInventoryDemoS
Error 6 error LNK2001: unresolved external symbol “public: virtual void __cdecl APhysicsConstraintActor::LoadedFromAnotherClass(class FName const &)” (?LoadedFromAnotherClass@APhysicsConstraintActor@@UEAAXAEBVFName@@@Z) G:\UE4 Projects 46\UMGInventoryDemoS 4.7\Intermediate\ProjectFiles\UMGInventoryDemoS.generated.cpp.obj UMGInventoryDemoS
Error 7 error LNK1120: 2 unresolved externals G:\UE4 Projects 46\UMGInventoryDemoS 4.7\Binaries\Win64\UE4Editor-UMGInventoryDemoS.dll 1 1 UMGInventoryDemoS
Error 8 error : Failed to produce item: G:\UE4 Projects 46\UMGInventoryDemoS 4.7\Binaries\Win64\UE4Editor-UMGInventoryDemoS.dll G:\UE4 Projects 46\UMGInventoryDemoS 4.7\Intermediate\ProjectFiles\ERROR UMGInventoryDemoS
Error 9 error MSB3073: The command “G:\UnrealEngine-release\Engine\Build\BatchFiles\Build.bat UMGInventoryDemoSEditor Win64 Development “G:\UE4 Projects 46\UMGInventoryDemoS 4.7\UMGInventoryDemoS.uproject”” exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 UMGInventoryDemoS

I ran into this one too. Any solutions?

As it turns out the class has the “MinimalAPI” flag set which makes it impossible to extend it. One can however use the engine source code and remove that flag.
More on this: Subclassing AMatineeActor and Linking Issue - Programming & Scripting - Unreal Engine Forums