Reply To: Task skips execution occasionally

Forums 💬 NodeCanvas ⚙️ Support Task skips execution occasionally Reply To: Task skips execution occasionally

#19025
Gavalakis
Keymaster

    Hello,
    Sorry for late reply.

    Thanks a lot for all the information again.
    So theere are 2 type of fixes that we can use here.
    Either make transition checks happen after task execution in FSMState.cs Update() #111, by placing OnUpdate before the CheckTransitions.
    Or a more safe aproach (to keep consistency with already made FSMs), would be in ActionTask.cs EndAction #122 to put:
    latch = success != null? true : false;
    first, even before the status check:

    I will probably go with this way in the next version update.

    Thanks again!