Odin Inspector Version 0.9.0.3


Highlights

  • Added link.xml to prevent code stripping from affecting relevant Odin assemblies. This means serialization is now supported on most platforms. If you succeed or fail in building properly to any specific platform please, let us know. This has only been tested on WebGL so far.

Fixes

  • Fixed a bug where the context menu for Clear list would be wrongly disabled.
  • Fixed rare occasion where Unity's "Failed to load inspected type" error would still show up when deleting a script.
  • Fixed infinite loop that sometimes occurred when skipping an entry during deserialization.
  • Fixed issue where InfoBox would not draw for null object fields.
  • Fixed issue where SirenixEditorFields.DelayedTextField would take a value from a seemingly random other field.
  • Fixed issue where [Required] would always show an error box for all non-unity objects.
  • Fixed issue where properties drawn by custom Unity PropertyDrawers were drawn twice when they used EditorGUI.PropertyField or EditorGUILayout.PropertyField with their own property as argument.
  • Right-clicking property context highlight now works again.
  • Object pickers can now be initialized outside a GUI context.
  • Fixed an issue where ToggleGroup didn't show an error message when referencing a property not part of the group.

Added

  • Added link.xml to prevent code stripping from affecting relevant Odin assemblies. This means serialization is now supported on most platforms. If you succeed or fail in building properly to any specific platform please, let us know. This has only been tested on WebGL so far.
  • Added SerializedStateMachineBehaviour, which can be inherited from if you wish Odin serialization support for a StateMachineBehaviour.
  • Added "Change Type" to right-click context menu for reference types serialized by Odin.
  • Added DetailedInfoBoxAttribute to display an info box with a hideable details .
  • ListDrawerSettingsAttribute now has showLabels option to enfores toggles for list elements.
  • SirenixAssembliesPath added to SirenixAssetPaths.

Changes

  • Open in new inspector shortcut on ObjectFields are now always enabled.
  • Renamed EnabledIf to EnableIf to match DisableIf, ShowIf and HideIf.
  • Renamed VisibleIfAttribute to ShowIfAttribute and added HideIfAttribute.
  • Renamed Property Configs to Property Contexts everywhere.
  • Removed option to enable or disable paging globally. Paging is now always enabled for lists and dictionaries (dictionaries are not yet supported, but will be soon).
  • Context menu for changing types and set to null are now shown as disabled if property is marked read-only.
  • Removed option to disable paging while lists are collapsed; this is now always the case.
  • [Required] will now mark a string property as missing if the string is empty.
  • Added default group name to ButtonGroup.
  • Removed label from BoxGroup. Group name will now be used instead.
  • BoxGroup label is now oriented to the left, instead of centered, by default.
  • Default number of items shown per page in lists has been increased from 8 to 15.
  • Boolean drawer no longer has an expanded clickable area when no label is drawn.
  • Active GUI Icons are now less bright.
  • All data formatters now use the same SkipEntry logic.