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
- "Layer Palette Profile" Asset is automatically applied to the second Terrain but doesn't load any layers
- "Terrain Tools" shortcut conflicts with the Overlays shortcut by default
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
- Inconsistent hotkeys in the Terrain tool with the "Terrain Tools" installed and not installed
- "DebugAllocatorMode" option changes when changed in another Editor instance
Add comment