Search Issue Tracker
Fixed
Fixed in 1.0.9
Votes
0
Found in [Package]
1.0.8
Issue ID
BEHAVB-253
Regression
No
Assigning graphs on prefabs does not work
*Steps to reproduce:*
# Create and open an empty project and install com.unity.behavior
# Create a behavior graph (Assets > Create > Behavior > Behavior Graph)
# Create a game object with a behavior agent
# Assign the graph to the behavior agent
# Make a prefab out of the game object by dragging it to the project view
# In the project view, i.e. prefab asset, set the graph to none
# Click on the prefab game object in the hierarchy and observe the graph assigned to the behavior agent
*Actual results:* the graph field is still assigned to the graph asset
*Expected results:* the graph field is none
*Reproducible with versions:* 1.0.8
*Tested on (OS):* MacOS
*Notes:*
* A workaround seems to be to make edits in prefab isolation mode
* This is also an issue for the blackboard variables
* [Reported by a user|https://discussions.unity.com/t/changing-the-referenced-behavior-graph-inside-behavior-agent-component-does-not-get-persisted/1595803/4]
* There is a slight difference in behavior between versions, but this never properly worked.
* Assigning in the hierarchy is also a problem that needs to be fixed, where it goes back to the graph used in the prefab ([another user reported this|https://discussions.unity.com/t/bug-with-assigning-a-behavior-graph/1595947/2]).
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
Add comment