This happens when I open the behavior tree for the first time.
It is a service made in C++.
I have been using this service for months and had not problems before (Or I haven’t realized until today).
It’s the first tree service.
This is the code that causes the error:
void UBTSIsBotAlive::InitializeFromAsset(UBehaviorTree& Asset)
{
UBlackboardData* BBAsset = GetBlackboardAsset();
if (ensure(BBAsset))
{
IsBotAlive.ResolveSelectedKey(*BBAsset);
GetHealth.ResolveSelectedKey(*BBAsset);
}
}
It only happens the first time.
Then it never happens again.
Is it your bug? or is it my bug?
Thank you so much!!