Search Issue Tracker

Fixed in 2020.2

Votes

8

Found in

2019.4

2020.1.3f1

2020.2

Issue ID

1273623

Regression

No

[WebGL][Input System] Vertical Axis input is inverted/reversed when using an Xbox One Controller

Input

-

How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode
3. Move the Cube around with the controller's Left Stick
4. Observe the movement on the vertical axis
5. Make a WebGL build
6. Launch the build on a web server
7. In the WebGL build, move the Cube around again
8. Observe the movement on the vertical axis again

Expected result: Cube moves in the direction of the Left Stick input
Actual result: Left Stick input is inverted on the vertical axis

Reproducible with: 2019.4.9f1, 2020.1.4f1, 2020.2.0b1 (0.9.3-preview, 1.1.0-preview.1)
Couldn't test with: 2018.4.27f1 (Input System Package is not available)

  1. Response avatar

    Resolution Note (fix version 2020.2):

    WebGL reported an inverted Y axis for game controllers. Inverted the axis to be consistent with the other platforms. Fixed in Unity 2021.1.0a1

Comments (3)

  1. 8780c197511308de65b1e70887091cdd?d=mm

    robscherer123

    Oct 06, 2020 16:53

    Also having this issue. Unity 2019.4.10f1 Tested on two separate X-Box controllers. Y axis is inverted when testing on the browser. Tested in Chrome and in Firefox.

  2. F320a03b83a113d0a1300d9f6b8e30a9?d=mm

    Feezen

    Sep 12, 2020 22:24

    Tested with a dualshock4 on Unity 2019.4.9f1 with Input system 1.0.0 and 1.1.0, both cases with the same bug on the Y axis.

  3. 621e388dcd07ae044f34903c86fadfb3?d=mm

    NickWinters

    Sep 02, 2020 02:29

    I tested a Logitech F310. Same problem. So it's not just the XBOX One controller.

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.