Hi, we are facing some problems with an action not being removed from MonoManager updateMethods when the action start executing again. (Behaviour tree attached)
The sequencer it’s executed every time the condition it’s true, if the condition is true every tick, Mecanim Set Float action won’t have any elapseTime, and since the condition to remove an OnUpdate method from MonoManager is that elapseTime needs to be greater than 0, this won’t remove already added method to updateMethods list, leaving the same OnUpdate method twice in the list.
I think something happened with the attached BT. Could you please send it to info_at_nodecanvas.com?
I can’t really replicate a case where OnUpdate is not removed and thus is called twice.
If OnUpdate is called then elapsed time will be greater than 0 and thus the method will be removed.
I suspect it could be a Set Mecanim Float bug rather than ActionTask one although I can’t reproduce it, but it would be great to send me your behaviour if possible so to make sure.