Search Issue Tracker
Fixed
Fixed in 2021.3.26f1, 2022.2.18f1, 2023.1.0b1
Votes
0
Found in
2020.3.38f1
2021.3.8f1
2022.1.14f1
2022.2.0b6
2023.1.0a6
Issue ID
UUM-14913
Regression
No
1px mismatch between reported Screen size and actual back buffer size when changing Display Scale
How to reproduce:
1. Open the attached user project
2. Open Scene “SampleScene“ & enter play in editor
3. In OS display settings set scale to 125%
4. Disable "Low Resolution Aspect Ratios" in the Game View
5. Change the Aspect ratios around, sometimes it may also require to you to change the screen lay-out by simply resizing the gameview window.
Expected result: No errors appear in the Console
Actual result: “game view dimensions don’t match Screen dimensions“ errors appear in the Console
> Note for this bug these errors continuously appear every frame vs only occasionally when resizing (which is caused by bad timing of the user code)
Reproducible with: 2020.3.38f1, 2021.3.8f1, 2022.1.14f1, 2022.2.0b6, 2023.1.0a6
Reproduced on: Windows 11 (21H2)
Note: Scene View needs to be on the same Display as where the settings were changed
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
This is a duplicate issues. It is currently being fixed. Progress can be tracked using https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-14913
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-14913