Search Issue Tracker

Active

Under Consideration for 1.0.X

Votes

1

Found in [Package]

1.0.7

Issue ID

BEHAVB-165

Regression

No

Setting a shared blackboard variable during runtime keeps the value when exiting play mode

Package: Unity Behavior

-

*Steps to reproduce:*
# Download and open the attached project "Behavior Shared Variable Issue.zip"
# Open "scene"
# Enter play mode
# Observe the console (it should log the number 0)
# Exit play mode
# Enter play mode again
# Observe the console

*Actual results:* The console logs 1 indicating variables set during runtime 

*Expected results:* The console logs 0 as variables set during runtime should reset to their default values when exiting play mode

*Reproducible with versions:*
1.0.7
1.0.3

*Can’t test with versions*
1.0.2 (blackboard asset doesn't have the Share toggle option)

*Tested on (OS):* MacOS (M1) 15.1.1

*Notes*
* Discovered on [Discussions forum post|https://discussions.unity.com/t/behavior-shared-blackboard-initialization/1573473/1]

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.