While True node do not do anything?. . .

FlowCanvas Forums Support While True node do not do anything?. . .

Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1643
    Arturo SR
    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.

    2018-01-04_0844

    From the inimaginable and beyond, where the mind feels free.

    Attachments:
    You must be logged in to view attached files.
    #1646
    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

    #1648
    Arturo SR
    Participant

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

    From the inimaginable and beyond, where the mind feels free.

    #1651
    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!

    Join us on Discord: https://discord.gg/97q2Rjh

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