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

Windows

-

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)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.