Search Issue Tracker
Won't Fix
Votes
1
Found in
2020.3.35f1
2021.3.5f1
2022.1.7f1
Issue ID
UUM-3547
Regression
No
GUI.Box displays wrong background color after changing scaling in Windows
Reproduction steps:
1. Open the attached "1355962.zip" project
2. On your desktop click the right mouse button and go to Display settings
3. Go to Scale and layout (Display > Scale and layout)
4. Click on the first drop-down menu and change it from 100% (Recommended) to 125%
5. In the Unity Editor click on the ErrorTester GameObject
6. In the Inspector (Window > Windows > Inspector) go to GUI Color Error Tester (Script) and compare the background colors of Color To Test and GUI.Box
Expected result: The background colors of the Color To Test and the GUI.Box are the same
Actual result: The background colors of the Color To Test and the GUI.Box are different
Reproducible with: 2019.4.29f1, 2020.3.16f1, 2021.1.17f1, 2021.2.0b7, 2022.1.0a5
Note: On macOS, the bug is reproducible without changing the scaling
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Thank you for reporting this bug. As we shift focus and resources towards UI Toolkit, we can only address major issues and regressions in IMGUI going forward.