[Bug] Incorrect flags enum value display

Forums 💬 FlowCanvas ⚙️ Support [Bug] Incorrect flags enum value display

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12174
    timconkling
    Participant

      Enum flag values incorrectly display as “Nothing” in the Canvas even when they have a non-Nothing value. (If I select all the options in the Flag enum, the display will correctly change to “Everything”, but these are the only two values it shows – “Everything” or “Nothing”.)

      [attachment file=”enum_flags.jpeg”]

      #12178
      Gavalakis
      Keymaster

        Hello,

        What version of FlowCanvas are you using please?

        Does the flags enum type that you are referring to, actually have a “System.Flags” attribute?

        Please let me know. Thank you!

        #12177
        timconkling
        Participant

          I’m using FlowCanvas 3.2.1 with Unity 2020.3.22f1.

          My flags enum has the System.Flags attribute set, yeah:

           

          (I think that’s why Unity automatically adds the “Nothing” and “Everything” options to the enum dropdown – these options only make sense for flags enums. Though I wish it wouldn’t, in this case!)

          #12176
          Gavalakis
          Keymaster

            Hey,

            After double checking, you are right this is a bug 🙂

            Please find the fix files attached.

            Thank you!

            #12175
            timconkling
            Participant

              Thanks!

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