Description

Error message in log is:

CompilerResultsLog:Error: Error MyBTTask_RunBehavior.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl IGameplayTaskOwnerInterface::OnGameplayTaskActivated(class UGameplayTask &)" (?OnGameplayTaskActivated@IGameplayTaskOwnerInterface@@UEAAXAEAVUGameplayTask@@@Z)
CompilerResultsLog:Error: Error MyProject5.generated.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl IGameplayTaskOwnerInterface::OnGameplayTaskActivated(class UGameplayTask &)" (?OnGameplayTaskActivated@IGameplayTaskOwnerInterface@@UEAAXAEAVUGameplayTask@@@Z)
CompilerResultsLog:Error: Error D:\MyProjects\MyProject5\Binaries\Win64\UE4Editor-MyProject5-2154.dll : fatal error LNK1120: 1 unresolved externals

This is not a regression.

Steps to Reproduce
  1. Create a new C++ Project
  2. Right click in the Content Browser and select New C++ Class
  3. Enable the checkbox to see all classes
  4. Search for 'Behavior' and select the BTTask_RunBehavior class
  5. Click Next and then click Create Class

Result: Compile failure

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-40017 in the post.

1
Login to Vote

By Design
ComponentUE - AI
Affects Versions4.13.24.14.24.154.16
CreatedDec 22, 2016
ResolvedJun 15, 2017
UpdatedApr 27, 2018