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 🙂
– 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)