I have a base tree that references another tree using my slightly modified behavior tree reference task. I'm trying to set a variable that shows up in the referenced behavior tree but it gives a "[Variable] doesn't exist" error. How can I use behaviorTree.SetVariableValue("[Variable Name]", [value]); with a tree that has been added onto the base tree (without having to add the variable to the base tree)?
Thanks
Thanks