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

Package: Unity Behavior

-

*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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.