Search Issue Tracker
In Progress
Fix In Review for 1.0.14
Votes
1
Found in [Package]
1.0.8
1.0.13
Issue ID
BEHAVB-414
Regression
Yes
Shared variable's OnValueChanged callback is not raised when the value is changed
Steps to reproduce:
- Install `com.unity.behavior` 1.0.10
- Create a Blackboard asset and add a Blackboard Variable of type integer (named "Shared Integer")
- Make the blackboard variable both Exposed and Shared
- Create a Behavior Graph asset and linked the blackboard asset
- Add and linked to On Start a Run In Parallel node with two branches
## Branch 1: Wait (Second) -> SetVariableValue (set "Shared Integer" to 1)
## Branch 2: WaitForVariableChange (custom node, see Notes below) -> LogVariableValue ("Shared Integer")
- Attach the graph to a gameObject
- Enter playmode
Actual results:
- No log because WaitForVariableChange keeps waiting
Expected results:
- Log the value of the "Shared Integer" variable
Reproducible with versions:
1.0.8
Not reproducible with versions:
1.0.7 or below
Can’t test with versions:
Tested on (OS):
WinEditor/WinPlayer
Notes:
- WaitForVariableChange is from this thread: [https://discussions.unity.com/t/proper-way-to-run-a-branch-by-variable-change/1681803/4]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Terms of Service agreement checkbox is invisible under specific OS system themes (UI Accessibility)
- Tile Palette: "Create New Tilemap" dropdown area is displayed in several colors
- Input.mousePosition stops syncing to touch input when using "DownloadHandlerTexture" in WebGL build
- UI Builder canvas doesn't update element styling accordingly when changing Active Theme for some Editor Authoring elements
- Selector Value buttons are not aligned with parameters in UI Builder
Add comment