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
- Line Break Position Changes in Traditional Chinese when consecutive punctuation is used
- Tutorial Case - [First] Depth of field does not apply correctly to UI elements
- “3.3.0.37 has a regression: newly created C# files are not added in the project” text is not aligned in the Package help box
- UI Toolkit Editor Window Creator becomes deformed and stretched when the “Enter” key is pressed
- “Assertion failed on expression: 'IsFinite(distanceForSort)’” is spammed in the Console when changing Trail GameObject position to a very high number
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.