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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment