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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Add comment