Search Issue Tracker

Fixed in 2020.2.X

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 (8)

  1. 22e51bfb7061e5e06f313422fba6ec32?d=mm

    Gregg-Patton

    Jul 07, 2021 13:50

    Same issue 2021.1.13f1 xbox one controller.

  2. D4538da0f8cfc17ef4b9ec4b4328c82f?d=mm

    King9999

    May 30, 2021 00:15

    I'm having the same issue, using a Xbox 360 controller and Unity 2020.3.8f1

  3. 7538966d04749e51ee6077d16c38fc65?d=mm

    MelbotStudios

    May 25, 2021 04:58

    It still happens with 2020.3.2f1

  4. 0be8e4cda4b85c53672093fb0e692c12?d=mm

    iellswo

    May 03, 2021 14:49

    Having this issue in 2021.1.4f1

  5. 9b35ee9ee7bd6fca84090aa6a350bf57?d=mm

    DDmeow

    Jan 25, 2021 14:51

    y axis still inverted. I'm using 2020.2.2f1, tested on Win10, Chrome (Version 87.0.4280.141 ) and also Edge (Version 88.0.705.50)

  6. 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.

  7. 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.

  8. 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.