My behavior tree in the editor is not running when I press play, and there is a message that says STEPS BACK: -1. It is also not executing in game either, not running at all. In C++ I used:
//run the behavior tree on this character
BerserkBTComp->StartTree(*Berserker->BerserkerBT);
Then I tested it like this:
if (BerserkBTComp->IsRunning())
{
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, TEXT("Tree Is Running"));
} else
{
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, TEXT("Tree Not Running"));
}
It comes back that the tree is running but nothing is being executed on the Tree in the game or simulated in the BT editor. I also see the blackboard keys are not being set in the editor but they are being set in C++ when I debug is VS 2019. I’m using UE4 4.23.1.
Also, I have verified my BB keys are correctly named everywhere.
Any help would be greatly appreciated.