Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Link errors in UBTTaskNode classes

After converting my project to 4.12 I have link errors in 2 of my UBTTaskNode classes:

 2>AllowNextMarker.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl IGameplayTaskOwnerInterface::OnGameplayTaskActivated(class UGameplayTask &)" (?OnGameplayTaskActivated@IGameplayTaskOwnerInterface@@UEAAXAEAVUGameplayTask@@@Z)


 #pragma once
 #include "BehaviorTree/BTTaskNode.h"
 #include "AllowNextMarker.generated.h"
 class GAME_API UAllowNextMarker : public UBTTaskNode
         EBTNodeResult::Type ExecuteTask(UBehaviorTreeComponent & OwnerComp, uint8 * NodeMemory) override;

Product Version: UE 4.12
more ▼

asked Jun 02 '16 at 03:52 PM in C++ Programming

avatar image

222 33 35 49

avatar image johnparkes Jun 02 '16 at 10:18 PM

I am having similar issues and would equally appreciate some assistance with why 4.12 is causing this.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

This is a known issue with changing to 4.12 and using tasks. It can be resolved by simply adding "GameplayTasks" to the PublicDependencyModuleNames section inside your 'ProjectName'.Build.cs For example:

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "AIModule", "GameplayTasks" });

more ▼

answered Jun 02 '16 at 10:28 PM

avatar image

291 3 6 16

avatar image 3DisturbedMonkeys Oct 30 '16 at 06:03 AM

Life saver. Thanks!

avatar image Vegasflash Mar 17 '17 at 04:14 AM


avatar image MarkcusD Sep 22 '17 at 03:00 PM

Thanks so much.

avatar image RemRemRemRe May 27 '18 at 02:16 AM

Thank you so much!

avatar image Anubis Jun 02 '18 at 08:22 AM

Thanks you!

avatar image tomzMedLomzIGomz Oct 11 '18 at 12:04 PM

Thank you, and when will this be fixed?

avatar image HT Aidn Nov 16 '18 at 03:56 PM

life saver thx.

avatar image Lobotomiac Jan 30 '19 at 11:57 AM

4.19 still has this issue. but I'm a bit curious. I have another .cpp and .h that use the virtual EBTNodeResult::Type ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) override;

but cause no issues. Why is that?

avatar image Dzhyrma Feb 24 '19 at 02:58 PM

THANKS!!! Life saver!

avatar image nickchu35 Mar 07 '19 at 06:24 PM

OMG Thanks I've been struggling with this for an hour trying to dig through my project and linker settings. You're a real hero.

avatar image codephunk May 21 '19 at 01:08 PM

A true hero ;) Thanks man!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users


more ▼

answered Sep 05 '17 at 07:53 PM

avatar image

1 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question