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
- UI Toolkit Slider value defaults to min value when the initial value is set in the UXML file
- The Player hangs when unloading a scene using the UnloadUnusedAssets() method
- [iOS] Too many texture parameters error is thrown when running on devices that support the number of parameters
- [MacOS] Trying to pick a Colour from full-screen window breaks Colour Picker Tool functionality
- WebGL Player hangs on first frame when "Autoconnect Profiler" is enabled and large amount of Profiler data is buffered before the first frame
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.