Search Issue Tracker
Won't Fix
Votes
1
Found in
5.6.1p3
Issue ID
920774
Regression
No
Screen.width & Screen.height reporting is inconsistent depending on when it is called
Steps to reproduce:
1. Download and open the attached project
2. Enter play mode
3. Undock game window
4. Set ratio to a fixed one
5. Keep resizing the window
Expected result: screen size values registered at OnGui and at Update are the same
Actual result: at certain sizes, the values differ slightly
Reproduced on 5.4.5p1, 5.5.4p1, 5.6.1p3, 2017.1.0n9, 2017.2.0a3
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 RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment