x

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"

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)

.h

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










Product Version: UE 4.12
Tags:
more ▼

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

avatar image

Nevermore
192 30 30 47

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

CalCof
231 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

THANKS!!!!

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

Thanks so much.

avatar image ONEPIECE_ZYX 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 anonymoussalt Nov 16 '18 at 03:56 PM

life saver thx.

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

THANKS!!!!

more ▼

answered Sep 05 '17 at 07:53 PM

avatar image

Burnes06
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