i'm using ue4 and i keep getting this problem with the class "AAI_Character" has no member "BehaviorTree" but i included every file i need
.cpp
#include "AI_Controller.h"
#include "BehaviorTree/BehaviorTree.h"
#include "BehaviorTree/BehaviorTreeComponent.h"
#include "BehaviorTree/BlackboardComponent.h"
#include "AI_Character.h"
Have you looked at the definition of AI_Character to check that it does, indeed, have a member called BehaviorTree? Because from those header files, BehaviorTree looks more like the name of a type, rather than the name of a member.