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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.
Resolution Note (fix version 2020.3):
Fixed in 2020.3.18f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.31f1