Sitelet https://github.com/canoide/Unity-SerializeReferenceExtensions/pull/3
Skip to content

Integrate UIElements support and ShowFullNamespace option - #3

Open
canoide wants to merge 4 commits into
mainfrom
feature/uielements-support-integration-15563507361962814745
Open

Integrate UIElements support and ShowFullNamespace option#3
canoide wants to merge 4 commits into
mainfrom
feature/uielements-support-integration-15563507361962814745

Conversation

@canoide

@canoide canoide commented Jun 2, 2026

Copy link
Copy Markdown
Owner

I have integrated the features from the origin/feature/uielements-support-13734061030980915401 branch into the current architecture.

Key changes:

  1. UI Toolkit (UIElements) Support: SubclassSelectorDrawer now implements CreatePropertyGUI, allowing it to work in the modern Unity UI Toolkit. It includes a foldout for child properties and respects custom property drawers.
  2. Namespace Control: A new ShowFullNamespace property has been added to SubclassSelectorAttribute. When enabled, the type selection popup will show the complete namespace hierarchy instead of flattening single-namespace structures.
  3. Stability & Performance Fixes:
    • Fixed a critical recursion bug in GetPropertyHeight that would cause a StackOverflowException.
    • Resolved a potential memory and listener leak in the UI Toolkit implementation by using TrackPropertyValue for UI refreshes.
    • Ensured UseToStringAsLabel is respected in both IMGUI and UI Toolkit.
  4. Architecture Consistency: Maintained the TypeSearchService architecture while bringing in the new features.

PR created automatically by Jules for task 15563507361962814745 started by @canoide

- Added UIElements support to SubclassSelectorDrawer via CreatePropertyGUI.
- Added ShowFullNamespace property to SubclassSelectorAttribute.
- Updated AdvancedTypePopup to support displaying full namespace hierarchy.
- Improved SubclassSelectorDrawer drawing logic for both IMGUI and UIElements.
- Fixed infinite recursion in GetPropertyHeight.
- Fixed listener leaks in CreatePropertyGUI using TrackPropertyValue.

Co-authored-by: canoide <5910326+canoide@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules Bot and others added 3 commits June 2, 2026 14:54
- Added UIElements support to SubclassSelectorDrawer via CreatePropertyGUI.
- Added ShowFullNamespace property to SubclassSelectorAttribute.
- Updated AdvancedTypePopup to support displaying full namespace hierarchy.
- Improved SubclassSelectorDrawer drawing logic for both IMGUI and UIElements.
- Fixed infinite recursion in GetPropertyHeight by using manual children height calculation.
- Fixed listener leaks in CreatePropertyGUI using TrackPropertyValue.
- Maintained modern GitHub Actions workflows and Unity versions from main.

Co-authored-by: canoide <5910326+canoide@users.noreply.github.com>
- Added UIElements support to SubclassSelectorDrawer via CreatePropertyGUI.
- Added ShowFullNamespace property to SubclassSelectorAttribute.
- Updated AdvancedTypePopup to support displaying full namespace hierarchy.
- Improved SubclassSelectorDrawer drawing logic for both IMGUI and UIElements.
- Fixed infinite recursion in GetPropertyHeight by using manual children height calculation.
- Fixed listener leaks in CreatePropertyGUI using TrackPropertyValue.
- Restored modern GitHub Actions workflows and Unity versions from main.
- Corrected preprocessor directives for IMGUI layout compatibility.

Co-authored-by: canoide <5910326+canoide@users.noreply.github.com>
- Integrated CreatePropertyGUI for UI Toolkit support.
- Added ShowFullNamespace property to SubclassSelectorAttribute.
- Fixed recursion bug in GetPropertyHeight.
- Optimized resource management in UIElements via TrackPropertyValue.
- Restored and verified modern GitHub Actions and Unity versions.
- Ensured IMGUI layout compatibility via preprocessor fixes.

Co-authored-by: canoide <5910326+canoide@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant