ryuikuya
(ryuikuya)
1
I search the solution in told to add “AIModule” module like this way
PublicDependencyModuleNames.AddRange(
new string {
“Core”,
“CoreUObject”,
“Engine”,
“OnlineSubsystem”,
“OnlineSubsystemUtils”,
“AssetRegistry”,
“AIModule” } );
but it still can not find UBTTask_BlackboardBase in my project
Lisyarich
(Lisyarich)
2
Make sure that you include BTTask_BlackboardBase.h
#pragma once
#include "BehaviorTree/Tasks/BTTask_BlackboardBase.h"
#include "BTTask_MyTask.generated.h"
UCLASS()
class UBTTask_MyTask : public UBTTask_BlackboardBase
{
GENERATED_UCLASS_BODY()
virtual EBTNodeResult::Type ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) override;
};