Search Issue Tracker

Fixed in 2019.1.X

Fixed in 2019.2.X

Votes

1

Found in

2019.1.10f1

Issue ID

1169064

Regression

No

[WebGL][Mouse] The Y axis for the mouse coordinate system is reversed.

Input

-

Compare to how the mouse works on other platform and the old input on WebGL, the Y axis for mouse input is reversed from the other coordinates.
The effects of this issue are:
- the zero point is the top of the screen, instead of the bottom
- Scroll and movement direction is reversed

Repro:
1. Download package and project at: https://github.com/Unity-Technologies/InputSystem
2. Use Input test project (Assets -> QA -> Input_Test -> Scenes)
3. (Optional) Enter Playmode to see how the mouse coordinate works
4. Build and launch WebGL player, and observe the mouse position, scroll, delta value change as it moves around.

Actual: The Y Axis on WebGL for mouse coordinate is reversed.

Comments (1)

  1. NickWinters

    Aug 20, 2020 02:41

    I'm still getting this problem in 2020.1.1f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.