diff --git a/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs b/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs index f1967e6..1a64733 100644 --- a/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs +++ b/Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs @@ -125,6 +125,12 @@ public override void OnGUI (Rect position, SerializedProperty property, GUIConte } } } + +#if UNITY_6000_0_OR_NEWER + // TextArea can defer its prefix label during Layout. Resolve it inside + // this drawer's IMGUI context before UI Toolkit starts another one. + GUIUtility.GetControlID(FocusType.Passive); +#endif } } else