Search Issue Tracker
Fixed
Votes
0
Found in [Package]
0.2.10
Issue ID
1252149
Regression
Yes
Mouse position values reported as half of thier actual values in screen pixels when display scaling is set to 200%
How to reproduce:
1. Open the attached project (1252149.zip)
2. Open the "Main" scene
3. Select the "Main Camera" GameObject from the Hierarchy
4. Enter Play Mode
5. Move the cursor to the right side of the Game window
6. In the Inspector observe the "Mouse Pos" and "Screen Size" values on the "MsTest" script
Expected result: The "Mouse Pos" X value is almost the same as the "Screen Size" X value
Actual result: The "Mouse Pos" X value is approximately equal to half of the "Screen Size" X value
Reproducible with: 2019.3.16f1, 2019.4.0f1 (0.2.10), 2020.1.0b12, 2020.2.0a14 (1.0.0)
Not reproducible with: 2018.4.23f1 (0.2.1-preview)
Notes:
1. Tested on Windows 10 and Ubuntu 18.04 (Doesn't reproduce on Windows 10)
2. Doesn't Reproduce with the old Input System
3. Reproduces in the Editor, but not the Player
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
- Input from the "Backslash" key is not detected in the Web Player when using the Japanese 106/109 key keyboard
- High "Total" value of the "TerrainManager.CullAllTerrains" when generating terrain
- UI Layout rebuild triggered by a rounding error when using TextMesh Pro
- Sprite Shape Corners and Edges are invisible when a closed Sprite Shape is used
- Script icon Gizmos cause lag/performance issues in Scene view even when the Scene Camera is not pointed at Gizmos
Resolution Note:
Fixed in 2020.2.0a17
Resolution Note:
Fixed in 2020.1.8f1