My behavior tree is stuck as “Steps Back: -1” when I try to run it, no matter what I do.
I’ve never had this issue before. I’ve checked whether it was actually running, and the visual logger for clues.
I can not perceive any reason why it is not working…
*
void AEnemyController::Possess(APawn* InPawn)
{
[INDENT]
…
UBehaviorTree* behavior = EnemyCharacter->GetBehavior();
if (behavior && behavior->BlackboardAsset)
{
[INDENT] Blackboard->InitializeBlackboard(*behavior->BlackboardAsset);
SetBlackboardBotType(EnemyCharacter->GetEnemyState());
SetBlackboardPlayer();
}
BehaviorComp->StartTree(*behavior, EBTExecutionMode::Looped);
…
[/INDENT]
}
*[/INDENT]
UE4 Version: 4.13.1
