Search Issue Tracker

Fixed

Fixed in 1.0.9

Votes

0

Found in [Package]

1.0.8

Issue ID

BEHAVB-286

Regression

No

Prefabs lose runtime graph reference when deleting and regenerating the runtime graph

Package: Unity Behavior

-

*Steps to reproduce:*
# Create game object with a behavior graph agent in the scene and assign a behavior graph to it
# Make a prefab out of the game object
# Click on the behavior graph asset and press the "Delete Runtime Assets" button
# Open the graph and close the window to regenerate the runtime assets
# Click on the game object in the scene and observe the inspector (it gets updated with the new runtime graph)
# Click on the prefab and observe the inspector

*Actual results:* The prefab shows a missing reference for the graph

*Expected results:* The prefab references the runtime graph

*Reproducible with versions:* 
1.0.8

*Tested on (OS):* MacOS

*Notes:*
* Reversing steps 5 and 6, i.e. pressing the prefab first, makes it so that the prefab references the graph correctly

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.