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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
Add comment