[Bug] Wait `elapsedTime` doesn't increase in sub dialogue trees

Forums 💬 NodeCanvas ⚙️ Support [Bug] Wait `elapsedTime` doesn't increase in sub dialogue trees

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16413
    aschearer
    Participant

      Create a behavior tree, start a sub dialogue tree, have a task with the “Wait” action.

      Expected: wait will complete after designated time

      Observed: wait never completes, reports elapsed time as zero.

      See Discord discussion between Alex Schearer and aFoolsDuty for more details.

      #16415
      guyboots_thunderbro
      Participant

        The fix for this:

        Open up NestedDT.cs, go to ‘OnExecute’, add this block just above return status:

        #16414
        Gavalakis
        Keymaster

          Oh. I don’t know how I missed that! :-/
          The fix @guyboots_thunderbro posted is the correct one (thanks!).
          For your convenience, I’ve also attached for you here the whole file in a unitypackage.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.