Search Issue Tracker
Not Reproducible
Votes
1
Found in [Package]
1.0.5
Issue ID
BEHAVB-105
Regression
Yes
[build only] Behavior event channels not initialized when start node is run
Original thread: https://discussions.unity.com/t/behavior-event-channels-not-initialized-when-start-node-is-run-build-only/1556967
*Description*
Event Channel is null in build when called directly by OnStart node.
*Reproduction steps*
# Create a new Behavior Graph
# Create a new Event Channel
# Call {{SendEventMessage}} node using the EventChannel
# Bind the graph to a scene (using a BehaviorGraphAgent)
# Build the scene into a player
*Expected behaviour*
The EventChannel instance is always valid to be used.
*Actual behavior*
The EventChannel instance is null on player build.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note:
User reports that this issue has been fixed in a recent version: "When I reported this, v 1.0.5 was the newest one (Nov 20), since v 1.0.6 came out Nov 21. Issue is fixed."
On forum:
https://discussions.unity.com/t/behavior-event-channels-not-initialized-when-start-node-is-run-build-only/1556967/8