I made a class inherited from UBTTaskNode that I want to have some logic in the TickTask function, but it’s never ticking. I have it set up like so:
UMyBTTask::UMyBTTask(const FObjectInitializer& objectInitializer)
: Super(objectInitializer)
{
bNotifyTick = true;
}
void UMyBTTask::TickTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory, float DeltaSeconds)
{
Super::TickTask(OwnerComp, NodeMemory, DeltaSeconds);
//Implementation goes here
}
When I put a break point in my Behavior Tree the node does get hit as expected but when I put a breakpoint in the C++ code it never gets hit. What am I doing wrong?