Download

Creating a new subclass of BTTask_BlackboardBase in 4.20 crashes the project

[TABLE]

0
I created a new C++ project, added a new class derived from BTTask_BlackboardBase and as soon as the editor recompiles the project I get the following error:


CompilerResultsLog: Error: MyBTTask_BlackboardBase.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl IGameplayTaskOwnerInterface::OnGameplayTaskActivated(class UGameplayTask &)" (?OnGameplayTaskActivated@IGameplayTaskOwnerInterface@@UEAAXAEAVUGameplayTask@@@Z)
			CompilerResultsLog: Error: MyBTTask_BlackboardBase.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl IGameplayTaskOwnerInterface::OnGameplayTaskActivated(class UGameplayTask &)" (?OnGameplayTaskActivated@IGameplayTaskOwnerInterface@@UEAAXAEAVUGameplayTask@@@Z)
			CompilerResultsLog: Error: C:\UnrealProjects\Test420\Binaries\Win64\UE4Editor-Test420-6117.dll : fatal error LNK1120: 1 unresolved externals
			CompilerResultsLog: ERROR: UBT ERROR: Failed to produce item: C:\UnrealProjects\Test420\Binaries\Win64\UE4Editor-Test420-6117.dll