GUI Issue with Switch Composite Node

Forums 💬 NodeCanvas ⚙️ Support GUI Issue with Switch Composite Node

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15998
    ewanuk
    Participant

      Having an issue with the Switch composite.

      Whenever my code compiles, if I have the canvas editor open, the nodes will rearrange themselves (change their x,y position)

      This only happens if if the switch composite is set to Enum Based selection mode

      Before:
      [attachment file=”Before.png”]

      After:
      [attachment file=”After.png”]

      It makes the switch composite pretty much unusable. And even deleting it appears to “corrupt” the asset to always rearrange itself after doing a recompile.

      This error shows up to, but I’m not 100% sure it’s related:

      ArgumentException: Getting control 0’s position in a group with only 0 controls when doing repaint

      Using v3.18 against Unity 2020.2.2f1

      #16003
      ewanuk
      Participant

        Looks like I can work around it by hitting Ctrl+Z a few times. Unable to reproduce it from scratch, but seems to happen to my current setup:

        I have a prefab that doesn’t have any nodecanvas components (just some components that manage variables outside of the blackboard). Then I have some prefab variants that DO have an FSM Owner/Blackboard components. These reference FSM assets (are not bound to the object). Inside the attached FSM asset I have a sub behaviour tree. When I add a switch component to that behaviour tree, it “corrupts” the tree.

        #16002
        Gavalakis
        Keymaster

          Hello there,

          This seems very strange and I honestly can not reproduce this at all. Does it only happen when adding the Switch node specifically? Do you get any errors (other than the other you mentioned) at all?

          Please let me know. Thank you.

          #16001
          ewanuk
          Participant

            Thanks for your reply.

            No other errors. I can’t reproduce it either off a fresh asset. Is there any specific assets or data I could fetch that would help?

            #16000
            Gavalakis
            Keymaster

              Hello again and sorry for the super late reply.

              Can you please record a very small video for this? I know I might be asking much, but honestly, I can’t reproduce or find anything that could cause this (nor have this issue or similar been ever reported in the past :/)

              Thank you very much!

              #15999
              ewanuk
              Participant

                Sorry, been trying to reproduce but now am unable to. It was only happening on old BT assets that I’ve since deleted. If it comes up again I’ll post a video.

                Thanks for your support.

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