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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment