Clarification on the Run Behavior task and Blackboard

I’ve had a decent amount of trouble looking for answers in regards to how the Run Behavior tree uses Blackboards. After playing around with it for quite a while it seems to me that a BT run with Run Behavior must use the same Blackboard, and will also use the same instance that the parent BT is using; i.e., values between the parent and child behavior will be shared.

Just wanted to make sure that’s correct.

If that is all correct, is there any utility to the Run Behavior task other than, essentially, acting as a function?

The thing, in particular, that lead me down this path was that I was trying to run a “meander” behavior that I had previously written while the AI was unable to perform his normal task; however this has a different BB. In the end, I duplicated the meander BT and had it use the other BB, with a few added entries.

1 Like

So did you find any solution to this? Or is this just a limitation or a bug?