Behavior, Shared blackboard initialization

Using Behavior package 1.0.7

I am using a shared blackboard between behavior graphs running on multiple objects

It remembers the values of the shared variables from the last playmode execution. How do I reset properly the variables without running into a race condition?

Hi @Captain720,

That’s interesting, shared variables should not remember their values from the last playmode execution.
If they are, that seems to be a regression. I will try to reproduce the issue myself today.

Is there reproduction steps I could follow to test this?

Hey, we managed to reproduce this issue successfully and created a ticket: Unity Issue Tracker - Setting a shared blackboard variable during runtime keeps the value when exiting play mode

1 Like