References to variables in External behavior trees set in the inspector disappear

Jelly

New member
After setting the External Behavior Tree asset in the BehaviorTree Component, set the Shared variables in the inspector.
After that, if I delete some of the variables in the Shared variables in the External Behavior Tree asset, the references to the variables in the External behavior trees set in the inspector disappear.

Is this a specification? Am I wrong in my understanding?
Is there a better solution?

1.png
2.png
3.png
 
Project level assets (such as external behavior trees) cannot reference scene level assets. You'll need to load them at runtime if you are using an external tree (or prefab). This page has more info:

 
Top