Unity Issue Tracker - GUI.Box displays wrong background color after changing scaling in Windows
Closed
UUM-3547
GUI.Box displays wrong background color after changing scaling in Windows
Unity: IMGUI Framework
Won't Fix
2022.1.X
2021.3.X
2020.3.X
2022.1 has reached end of life so the issue will be fixed in a newer version.
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