Search Issue Tracker
Active
Under Consideration for 1.0.X
Votes
0
Found in [Package]
1.0.7
Issue ID
BEHAVB-213
Regression
No
Behavior component throws null reference errors and the graph is broken when referencing a blackboard variable from a deleted script
Steps to reproduce:
- Create and open an empty project
- Install com.unity.behavior
- Create and open a behavior graph (Assets > Create > Behavior > Behavior Graph)
- In the blackboard, create an enum variable
- Delete the enum script that got created
- Create a game object with a behavior graph agent and assign the behavior graph to the agent
Actual results: Null reference errors are thrown and the behavior agent component is not displaying the graph variables
Expected results: No errors are thrown and the behavior agent component displays the graph variables correctly
Reproducible with versions:
1.0.7
1.0.1
Tested on (OS): MacOS
Notes:
- Happens with other things than enums as well
- Regenerating the graph fixes it
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment