BonsaiBehaviourTree icon indicating copy to clipboard operation
BonsaiBehaviourTree copied to clipboard

i cant see the current state in the tree designer play mode

Open virtouso opened this issue 2 years ago • 2 comments

the designer is always in edit mode and play mode doesn't show at all. I'm using Unity 2022.

is there something that I have missed?

virtouso avatar Aug 11 '23 12:08 virtouso

Same problem in Unity 2020.3.27f

karim-gamedev avatar Aug 23 '23 20:08 karim-gamedev

Alright, I figured it out. The thing is, each tree must have a Root; otherwise, the tree doesn't get saved. Right-click -> Set as Root on any node will fix the issue. I consider this a design problem. For two days, I thought it was a bug and had already given up on the current solution as 'behavior trees.' There's nothing indicating that roots must exist and that they need to be assigned manually.

karim-gamedev avatar Aug 23 '23 22:08 karim-gamedev