Search Issue Tracker
Fix In Review for 2022.2.X
Votes
0
Found in
2019.4
2020.3
2020.3.11f1
2021.2
2021.3
2022.1
2022.2
Issue ID
1405134
Regression
No
[Windows] The returned screen refresh rate is rounded down when calling Screen.currentResolution
How to reproduce:
1. In Windows, set the display refresh rate to 59,940 Hz (or any other non-integer value) (Right-click on the Desktop > Display Settings > Advanced Display Settings > Refresh rate)
2. Open the user-submitted project
3. Open the scene "Scene" and enter Play mode (Assets/Scene.unity)
4. In the Game view, observe the text that displays the display refresh rate
Expected result: The displayed refresh rate is 60 Hz
Actual result: The displayed refresh rate is 59 Hz
Reproducible with: 2019.4.37f1, 2020.3.33f1, 2021.2.19f1, 2021.3.0f1, 2022.1.0b15, 2022.2.0a10
Notes:
1. Reproducible only on Windows
2. Reproducible in the Editor and the Player
3. Certain refresh rates are rounded up instead of down (59.883 Hz is displayed as 60 Hz)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment