UAIBlueprintHelperLibrary::GetBlackboard with unresolved external symbol error

Hey everyone,

When I’m trying to get a blackboard object for a character with theses lines

UBlackboardComponent* blackboard = UAIBlueprintHelperLibrary::GetBlackboard(GetOwner());
	blackboard->SetValueAsBool("IsDead", true);

I get an unresolved symble error even though I included the AIBlueprintHelperLibrary

#include <BehaviorTree/BlackboardComponent.h>
#include <Blueprint/AIBlueprintHelperLibrary.h>

I’m at a loss and I really hope someone can help me. Is there an include that is missing or am I including the wrong files. I really don’t know anymore and my research hasn’t helped me one bit.

You might be missing AIModule in project dependency. Adding following line to your project’s *.Build.cs file resolves this:

PublicDependencyModuleNames.Add(“AIModule”);

thanks