Repository navigation
2.0.0
Added
- Added UI Toolkit rendering for
SubclassSelectoron Unity 2021.3 and later, including searchable type selection, nested references, arrays and lists, context menus, multi-object editing, Undo/Redo, and Prefab editing. The selector uses Unity's native Inspector controls and layout. (#117) - Added subtype drawer support in UI Toolkit Inspectors: UI Toolkit-only drawers use
CreatePropertyGUI, and drawers with anOnGUIimplementation use Unity's native IMGUI fallback. (#117) - Added an Inspector comparison window to the repository's Unity project: Tools > SerializeReference Extensions > Validation > Open Comparison. It compares Unity standard rendering with
SubclassSelector, or IMGUI with UI Toolkit. The window, validation scenes, and Prefabs are excluded from the distributed package. (#117)
Fixed
- Fixed compilation on Unity 6.5 and later by using
AdvancedDropdownItem.childListinstead of the obsoletechildrenAPI. (#104) - Fixed
UseToStringAsLabelrendering by preparing the label before Unity captures it for the property scope. (#99) - Fixed deferred
TextArealabels interfering with subsequent Inspector rendering in Unity 6. (#108) - Fixed type selection failing to notify Inspector change checks, leaving custom Inspectors unaware of the edit. (#113)
- Fixed subtype drawer delegation to preserve Unity's declaring-field context, drawer precedence, and instance ownership. (#116)
- Fixed child-property traversal entering unrelated properties or recursing beyond the requested depth through nested or cyclic managed references. (#116)
- Fixed delayed type-menu and context-menu commands acting on stale properties after reference replacement, collection reordering, or target changes. Reference replacements preserve Undo/Redo and Prefab editing behavior. (#116, #117)
Changed
- Replaced the previous paste command with Paste Values Only and Paste Type and Values. The former preserves the destination instance and copies matching serialized fields; the latter creates an independent instance of an assignable copied type, or clears the destination when pasting a copied null. Copy/paste is limited to one selected object. (#107)
- Reused sorted type-menu paths and display names between popup rebuilds, rebuilding that metadata when the candidate set or current culture changes. (#110)
- Changed
PropertyDrawerCache.TryGetPropertyDrawerto return a fresh, unbound drawer instead of a shared cached instance. Editor extensions calling this helper own the returned instance and must dispose it if it implementsIDisposable.SubclassSelectordelegates bound drawers through Unity's property handlers. (#116) - Removed test assemblies and fixtures from the distributed package; repository tests now live under
Assets/Tests. (#112)
Full changelog: 1.7.0...2.0.0