[Bug] Incorrect flags enum value display

FlowCanvas Forums Support [Bug] Incorrect flags enum value display

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

    enum_flags

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

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

    #3191
    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!)

    #3192
    Gavalakis
    Keymaster

    Hey,

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

    Please find the fix files attached.

    Thank you!

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

    Attachments:
    You must be logged in to view attached files.
    #3194
    timconkling
    Participant

    Thanks!

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