Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2018.4.14f1
2019.2
2019.3
2020.1
Issue ID
1213520
Regression
No
Project window size is getting printed out when accessing Screen Size
Steps to reproduce:
1. Open user-attached project
2. In the project window, select "Prefab"
3. Right-click on it and select 'Screenshot'
Expected: The current screen size gets printed ("Screen: ...")
Actual: The screen size reports the current size of the Project window
Reproduced in: 2018.4.16f1, 2019.2.18f1, 2019.3.0f4, 2020.1.0a20
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
- Unity Version Control window during "Create workspace" updates only when the mouse is moved
- Crash on AudioMixer::GetFloat when entering Play Mode in a specific project
- Test assembly files are not generated when using a local package included in a subdirectory
- URP Terrain Shaders are always included when building on any target platform
- Multiple errors thrown and Scene/Game view is not rendered when Lighting Override Mask is set to the same layer as the Volume
Resolution Note (2020.1.X):
I have confirmed with @philip and this is expected behaviour. The Scrren.width and Screen.height will give the current window dimensions.