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: