Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0b10
Issue ID
780775
Regression
Yes
Input.mousePosition Y value is shifted by -5
Steps to reproduce:
1. Open attached project
2. Open scene "TestScene"
3. Run it
4. In game view, move mouse cursor towards the bottom of the game window. Once near the edge, slowly move mouse down and notice that Y value outputted in console is negative but mouse is still in the game view
Additional steps:
5. Open MousePositionDebug.cs script and add line to output Screen.height (when I've tested this it was 536)
6. Now Run scene and this time move mouse towards the top of the window
7. Notice that once mouse pointer is at the top, Y value is 531 => This means that Y value is shifted by -5
Note: UI elements are unclickable if mouse is positioned over them but Y value is negative.
Reproduced with: 5.4.0a5, 5.4.0b12
Not reproducible: 5.3.4p1, 5.4.0a4
Regression introduced in 5.4.0a5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment