Unity version: 2020.3.26f1 LTS
can be reproduced in other versions too
Reproduction:
-
Run the build (in fullscreen by default):
-
Go to windowed mode (Alt + Enter):
-
Resize the window with the mouse so that its resolution is reduced (let’s say to 500x500 pixels)
-
Go back to fullscreen mode (Alt + Enter)
Actual results:
- When going back to fullscreen mode resolution is being keept 500x500 pixels.
- Scene is rendered in 500x500 pixels (the text is blurry and the canvas is squared).
- Both Screen.currentResolution & Screen.width/height have 500x500 values.
Expected results:
- Fullscreen-mode should restore the game resolution back to 1920x1080 (as on the very 1st screenshot before going to windowed-mode).
- Both Screen.currentResolution & Screen.width/height should have the values of 1920x1080.
The problem caused by this behaviour (or bug) is that the user cannot return to full-screen mode with full display resolution after switching to windowed mode and reducing the window size.
I haven’t found anything about this behavior in docs.



