Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.36f1
2022.3.21f1
2023.2.13f1
6000.0.0b11
Issue ID
UUM-68501
Regression
No
The DrawDefaultInspector() function for a class inherited from Button draws excessive unnecessary fields in the Inspector window
Steps to reproduce:
1. Open the user-attached project
2. Open the “SampleScene”
3. Open the “ScenarioViewInspector.cs” script inside Assets > Scripts > Editor and comment out “DrawDefaultInspector”
4. Compile and Observe the Inspector window for the “Test” GameObject
5. In the same “ScenarioView.cs” script comment out “base.OnInspectorGUI” and uncomment “DrawDefaultInspector”
6. Compile and Observe the Inspector window again, compare
Expected result: The Inspector window should be drawn the same as with “base.OnInspecorGUI”
Actual result: The inspector window is drawn with many excessive fields
Reproducible with: 2021.3.36f1, 2022.3.21f1, 2023.2.13f1, 6000.0.b11
Reproducible on: Windows 10 (by reporter), Windows 11
Not reproducible on: No other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search window icons are less sharp/more pixelated than other editor icons
- The Inspector can be covered when scaling the horizontal separator bar
- A script cannot be attached to a GameObject when there is another script that is generic with the same name in a different folder
- Scene View drop-down fields reopen when clicking them again to close it
- Crash on UnityEngine.Rendering.RenderPipelineAsset:InternalCreatePipeline when opening a specific project
Resolution Note:
Thank you for bringing this issue to our attention. Unfortunately, after careful consideration, we will not be addressing your issue at this time, as we are committed to resolving other higher-priority issues and delivering the new UI system. Our priority levels are determined by factors such as the severity and frequency of an issue and the number of users affected by it. However, we know each case is different, so please continue to log any issues you find and provide any general feedback on our roadmap page to help us prioritize.
Forum announcement
https://forum.unity.com/threads/ui-toolkit-update-q3-2022.1329159/
Roadmap https://unity.com/roadmap/unity-platform/ui