Hello! We just bought this for use in our upcoming projects, as the pricepoint and features were very nice. I have a few questions, though. I’ve been playing around with it for a while now and love it so far, but would like to know about this scenario…
I set up a tree and attached it to a mob prefab:
Which has a debug.log statement executed when the agent gets within x units of the player. It works, but only for one instance of the prefab in which this tree’s agent is assigned. It also seems kind of unpredictable, if I remove any one of those instance clones the tree just doesn’t work at all. Also, it seems that if the mobs are spawned at a location in which the condition is true, nothing happens and the tree is locked out. Perhaps it is just me, or something I configured wrong though. Any thoughts? (Note that the first mob spawned has the entire tree lit up green with checks, while the second and any other mobs after the first fails the first check regardless of the distance, every time)
You have a BasicMonster gameobject with a BehaviourTreeOwner component which is a prefab.
This BehaviourTreeOwner has a BT tree assigned (which I suppose is also a prefab).
You instantiate the BasicMonster game object.