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
- Crash on RaiseException when opening a specific project
- 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
Add comment