Weird behaviour with nodes relation

NodeCanvas Forums Support Weird behaviour with nodes relation

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13384
    egnech
    Participant

    I found this suddenly after a couple hours debugging by BT. If I just move nodes a little last two nodes switch their relation order.
    It make working with BT insanely hard.

    I’m using Unity 2018.1.3 and NodeCanvas v2.8 on MacOS.

    Attachments:
    You must be logged in to view attached files.
    #13399
    Gavalakis
    Keymaster

    Hello,

    BehaviourTree nodes are automatically re-ordered in relation to their parent based on their position from left to right, since execution is also happening from left to right.

    With that said though, there should be no case where this automatic re-ordering happens only after moving a node, but it should always be the case. As such, I’ve searched a bit within the code and found a bug which does *not* trigger the automatic re-ordering when a new connection is made like when it should. Like this:
    ReOrder_BUG

    What should happen, is this (and as such always be in correct order not only when move node and avoid confusion):
    ReOrder_FIX

    I have just fixed this bug. If you want I can send the fix to you. If so, please drop me and email to support_AT_paradoxnotion.com and I will send you the fixed package.

    Thanks for letting me know!

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

    Attachments:
    You must be logged in to view attached files.
    #13413
    egnech
    Participant

    Thank you for your response.
    I’ve managed this issue by “stretching” my BT a little, so if you are planning to do a public release soon I can wait for it! 🙂

    Have a good day, and I need to say that NodeCanvas is amazing tool 😉

    #13427
    Gavalakis
    Keymaster

    Hello again and sorry for the late reply (I was on a small vacation).
    Thank you! I am really glad you enjoy NodeCanvas 🙂

    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.