almostchris
New member
Hey there, so I've got a BehaviotTree pool set up in order to prevent deserialization at runtime, but I'm having issues reassigning a previously used BT.
The pooled BT's retain component references of the first character they've been assigned to. I've tried restarting the tree as well as resetting values but none of it seems to force the BT call it's Tasks' OnAwake methods the second time around.
Specifically, I'm having issues with the Movement Pack's NavMeshMovement script, which retains the reference to the first NavMeshAgent. Any ideas what I'm doing wrong here or how to reset the BT to a fresh state?
The pooled BT's retain component references of the first character they've been assigned to. I've tried restarting the tree as well as resetting values but none of it seems to force the BT call it's Tasks' OnAwake methods the second time around.
Specifically, I'm having issues with the Movement Pack's NavMeshMovement script, which retains the reference to the first NavMeshAgent. Any ideas what I'm doing wrong here or how to reset the BT to a fresh state?