Search Issue Tracker
Won't Fix
Votes
1
Found in
5.2.1p3
Issue ID
735539
Regression
No
[CustomInspector] EditorGUIUtility.currentViewWidth returns wrong value
Steps to reproduce:
1. Open attached project
2. Open 'Main' scene
3. Select 'Inspector Helper' in the hierarchy
4. Notice there are vertical, 1px wide green lines on the left and right of the Inspector drawn
(drawn between: 1 <= x <= 2 and (EditorGUIUtility.currentViewWidth - 4) <= x <= (EditorGUIUtility.currentViewWidth - 3))
5. Notice there are no vertical, 1px wide red lines on the left and right of the Inspector
(drawn between: 0 <= x <= 1 and (EditorGUIUtility.currentViewWidth - 1) <= x <= (EditorGUIUtility.currentViewWidth))
Open 'InspectorHelperEditor.cs' script to better inspect how are the mentioned lines drawn.
Note: The results are even worse if there is a scrollbar in the inspector (see attached gif).
Comments (1)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
radu.danciu
Apr 05, 2016 16:28
Still relevant in 5.3.3p1