Preferred Types Editor unusuable when renaming types

Forums 💬 NodeCanvas ⚙️ Support Preferred Types Editor unusuable when renaming types

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

      #18145
      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)

        #18144
        Gavalakis
        Keymaster

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

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