Search Issue Tracker

Fixed

Fixed in 1.0.13

Votes

0

Found in [Package]

1.0.11

Issue ID

BEHAVB-324

Regression

No

Graph Loading Fails When BehaviorGraphAgent Is Selected in Inspector

Package: Unity Behavior

-

Description
When a BehaviorGraphAgent with no assigned graph is selected in the Inspector, loading a graph from code fails for that GameObject upon entering Play mode.

Steps to Reproduce

  1. Create a new GameObject in the scene
  2. Add a script and an empty BehaviorGraphAgent (no graph assigned) to the GameObject
  3. Duplicate the GameObject
  4. Select one of the GameObjects (so the Inspector displays the BehaviorGraphAgent with no graph assigned)
  5. Enter Play mode

\\
Actual results: 
The selected GameObject's BehaviorGraphAgent's graph remains null, while the unselected one loads correctly.

Expected results: 
When entering Play mode, both GameObjects should have their BehaviorGraphAgent's graph properly assigned.

\\
Reproducible with versions: 
1.0.10, 1.0.11

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.