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.
Result: Compile failure
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-40017 in the post.