Shared Variable is only set correctly on first run

Culzean

New member
I have a setup where I am using multiple behaviour trees, a main tree and an ancillary action tree. I want to call the ancillary action and start a selected action in this tree. I am providing a data blob for this action via shared variables. When I call the tree I set an external behaviour tree and set the given variable. This blob of data is randomly selected at runtime
However this only works for the first call. The shared variable will not be updated on the second call and retains the first blob of data selected. Why would this happen? This does not seem like intended behaviour. Is there something simple I am missing here?

Thanks,

Daniel
 
Ah on the behaviour tree I had Reset Values On Restart ticked. That's sorted with that unticked. I'm not sure I understand the intention of that option.
 
Top