While True node do not do anything?. . .

Forums 💬 FlowCanvas ⚙️ Support While True node do not do anything?. . .

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22029
    3d-magic-vr
    Participant

      Hello there, I was working on the script to flow adaptation using the scavengers unity project, when I get to the point of have to use a While true node I notice that the node does not do anything, just pass it by the flow, the do flow never executes, it’s just ignored because the condition never is used (while running the condition never shows the boolean result from the requested condition), I tried using it on an update event and even there does not do nothing, just ignore the condition, here is an image about what I’m talking about.

      [attachment file=”2018-01-04_0844.png”]

      #22032
      proepkes
      Participant

        I noticed it too. My hotfix was to change “While.cs” line 38 from

        while (coroutine != null && condition.value)

        to

        while (condition.value)

        because coroutine was always null

        #22031
        3d-magic-vr
        Participant

          Hi, thanks for the answer, I will check it and see if that solve my little problem, thanks again, cheers.

          #22030
          Gavalakis
          Keymaster

            That is indeed a bug introduced in last version. The fix @proepkes posted is a valid quick fix.
            Thank you for letting me know and happy new year!

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