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.

Odin Inspector Version 0.9.0.2

Highlights

  • Added a new window found in “Window > Odin Scene Validator”, which scans all open scenes for errors, warnings and missing references.

Fixes

  • Fixed a crash that occurred when applying PrefabModifications that change an array's length.
  • Fixed issue where property children would not be properly updated when a list length was changed by something other than inserting or removing an element, which would throw errors upon inserting list elements.
  • Fixed issue where custom Unity PropertyDrawers for PropertyAttributes weren't found and drawn in the inspector like other drawers.
  • Fixed issue where Unity's own PropertyDrawers and DecoratorDrawers weren't found and used in the inspector where applicable.
  • Fixed issue with ToggleGroup being unintuitive to use and updated examples accordingly.
  • Prefab modifications are now properly removed when parent values and list lengths change that make the modification paths invalid.
  • Fixed newly introduced compiler warnings and errors that occur when using Odin as source files.

Added

  • DrawerPriorityAttribute now works on custom Unity PropertyDrawers and DecoratorDrawers.
  • Added DrawerIsNotLocatableAttribute, which indicates that the DrawerLocator will not find this drawer, whether it has an InspectorDrawerAttribute defined or not.
  • Added IsChildOf and IsParentOf methods to InspectorProperty.

Changes

  • Prefab modifications can no longer have internal references to each other, making them more impervious to merge changes.
  • Removed prefab path resolution failure warning. There are cases where a modification path cannot be resolved for entirely legitimate, okay reasons.

Odin Inspector Version 0.9.0.1

Highlights

  • Added "Odin Attributes Overview" scene; a scene which contains examples of how to use all of Odin's attributes.
  • Added SirenixEditorFields.
  • Added the TabGroup attribute.
  • Added the ColorPalette attribute.

Fixes

  • Fixed an issue that caused a stack overflow when drawing a single property with multiple instances of the same attribute drawn by an attribute drawer with the DrawProperty behaviour.
  • Fixed an issue where the menu text in the Odin Preferences window would be cut off in some projects.
  • Fixed an issue where all drawn properties had unintended padding beneath them.
  • Fixed an issue where ValidateInput did nothing if no message was specified.
  • Fixed various spelling errors.

Changes

  • TitleAttribute no longer applies to list elements.
  • Demo folder is now located inside the Odin Inspector folder.