Use GetFieldValue in a ReferencedBehaviorTree for a GameObject Component


Hi, how I can do this? In the screenshots the variable "Character" (GameObject) is linked to the Game Object "Caucasian" in the hierarchy. In the Reference BT the variable of the same name is empty. The result of false because of the missing game object.
I want to use the referenced BT with some different Characters.

same NameBT.png


Staff member
Unfortunately the reflection tasks rely on there being a local GameObject and because external trees are unable to reference scene objects there isn't really a good way to handle this.