Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2019.4.X, 2020.3.X

Votes

2

Found in

2018.4

2019.1.14f1

2019.4

2020.1

2020.2

Issue ID

1208971

Regression

No

[WebGL] Input.GetAxis/Input.GetAxisRaw sometimes returns significantly larger value in WebGL when cursor is locked

WebGL

-

How to reproduce:
1. Open attached project "Case_1208971"
2. Build and Run for WebGL
3. In the browser, click on the screen to lock the mouse
4. Start moving the mouse to the left and right

Expected result: the value returned by Input.GetAxis()/Input.GetAxisRaw stays consistent
Actual result: the returned value is sometimes significantly larger

Reproducible with: 2018.4.26f1, 2019.4.7f1, 2020.1.1f1, 2020.2.0a20

  1. Resolution Note (fix version 2020.2):

    Fixed in: 2021.1.0a5

    A bug in the version of Emscripten WebGL platform is currently using causes large values in the movement properties in certain conditions. This has been fixed in the newer version of Emscripten we are working on integrating, and in the meantime a fix was patched for Emscripten into the current version to resolve this bug.

  2. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.18f1

  3. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.31f1

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.