Error with VS 2015 / 4.16


I’m on 4.16 and I’m getting errors upon compile with the following:

EBTNodeResult::Type UChooseNextWaypoint::ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory)
auto BlackboardComp = OwnerComp.GetBlackboardComponent();
auto Index = BlackboardComp->GetValueAsInt(IndexKey.SelectedKeyName);

return EBTNodeResult::Type();


It fails on the Index = Bl… and it says on the Intellisense: “Pointer to incomplete class type is not allowed”.

Now, I am sure this works with 4.13, but I do not want to use these techniques on an older version of the engine. Thanks for your courses, they are great.


Figured it out… they changed the header files, so you must include:

#include “BehaviorTree/BlackboardComponent.h”

I’m a complete idiot… its in the video! Apologies.

Privacy & Terms