XaviBlay
New member
Hi,
We are experiencing an unexpected behavior with Push/Pop execution order after calling the following function of "UtilitySelector" Task.
(Capture 1: "Return Score A" OnStart is executed as expected.)
(Capture 2: "Return Score B" has more score than "A" but execution order is not triggered as expected)
As we can see at Capture 1, initially, "Return Score A" has more score than "Return Score B". When "B" reaches more score than "A" (Capture 2) becomes the current executed task, but, "Return Score A.OnEnd()" is called after "Return Score B.OnStart()". We expected the execution to be "Return Score A.OnEnd()" and then "Return Score B.OnStart()".
We can confirm that this issue starts to happen after upgrading from 1.6.4 to 1.6.6.
Is this a bug or we could be doing something wrong?
Thanks!
- Xavi
We are experiencing an unexpected behavior with Push/Pop execution order after calling the following function of "UtilitySelector" Task.
The following simplified example shows the issue:Interrupt(Behavior behavior, Task task, Task interruptionTask, TaskStatus interruptTaskStatus = TaskStatus.Failure);
(Capture 1: "Return Score A" OnStart is executed as expected.)
(Capture 2: "Return Score B" has more score than "A" but execution order is not triggered as expected)
As we can see at Capture 1, initially, "Return Score A" has more score than "Return Score B". When "B" reaches more score than "A" (Capture 2) becomes the current executed task, but, "Return Score A.OnEnd()" is called after "Return Score B.OnStart()". We expected the execution to be "Return Score A.OnEnd()" and then "Return Score B.OnStart()".
We can confirm that this issue starts to happen after upgrading from 1.6.4 to 1.6.6.
Is this a bug or we could be doing something wrong?
Thanks!
- Xavi