Weird behaviour with nodes relation

Forums 💬 NodeCanvas ⚙️ Support Weird behaviour with nodes relation

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

      #17247
      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:
        [attachment file=”ReOrder_BUG.gif”]

        What should happen, is this (and as such always be in correct order not only when move node and avoid confusion):
        [attachment file=”ReOrder_FIX.gif”]

        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!

        #17246
        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 😉

          #17245
          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 🙂

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