Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.2.X
Votes
1
Found in
2019.4
2020.3
2020.3.20f1
2021.1
2021.2
2022.1
Issue ID
1373342
Regression
No
[UWP] Screen.currentResolution.refreshRate returns 0 when used in UWP Build
How to reproduce:
1. Open the attached project "resolution.zip"
2. Open Build Settings (FIle>Build Settings)
3. Switch Platform to Universal Windows Platform
4. Build And Run the project
Expected results: The refresh rate of the current display is shown in the middle of the screen
Actual results: 0 is shown in the middle of the screen
Reproducible with: 2019.4.32f1, 2020.3.21f1, 2021.1.27f1, 2021.2.0b17, 2022.1.0a13
Comments (1)
-
PeachyPixels
Dec 01, 2021 16:19
It would be great if this could be fixed in 2020 & 2021 as well. Thanks!
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
- New Artifact generated for Video when reimporting with identical settings
- “ArgumentOutOfRangeException: Length cannot be less than zero.“ error or “NullReferenceException: Object reference not set to an instance of an object“ error is thrown when CoreUnsafeUtils.FixedBufferStringQueue reads out of bounds
- URPPreprocessBuild.OnPostProcessBuild is never executed when building the Player
- [Linux] Using CTRL+Shift+A shortcut for Add Component throws GUI Rendering Errors
- Crash on MonoBehaviour::Transfer<YAMLRead> when upgrading the Magic Leap XR Plugin
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b1
Resolution Note (fix version 2021.2):
Fixed in 2021.2.6f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.25f1