Preferred Types Editor unusuable when renaming types

NodeCanvas Forums Support Preferred Types Editor unusuable when renaming types

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11797
    zsoik
    Participant

    I just broke the Preferred Types Editor by renaming one of the preferred types.

    1) Add a custom type to the preferred types
    2) Save preferred types as a preset JSON
    3) Rename the custom type
    4) Load the preset JSON into the preferred types editor
    5) Observe unusable editor 🙂

    NC 2.6.2 / Unity 5.5.0p3

    #11798
    zsoik
    Participant

    My workaround for the preferred types editor:

    – Do a null check everywhere a element from the typeList is used (e.g. display “Missing” instead in the GUI)
    – Delete types by-index instead by-reference from the list: RemoveType(Type t) -> RemoveType(int index)

    #11802
    Gavalakis
    Keymaster

    Ah, thanks for that.
    I’ve fixed this now. 🙂

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

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