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
- Wrong NativeName displayed when returning System.Globalization.CultureInfo("zh-TW").NativeName
- UI Toolkit ScrollView.verticalPageSize doesn't change the scrolling amount when using keyboard arrows
- Box selection in Scene View doesn't select 3D objects when GPU Resident Drawer setting is set to Instanced Drawing
- Debugger stops at commented lines of code when using ECS
- Asset preview doesn't update on changing shader's _GlobalColor property when the shader uses global uniforms
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