Search Issue Tracker
Fixed in 5.3.0
Votes
2
Found in
Issue ID
737943
Regression
No
[WebGL] GetAxis MouseX and MouseY jerky/choppy/laggy/jittery
-e: Reading changes in mouse position using Input.GetAxis() Mouse X and Mouse Y result in varying values over time with a constant mouse speed, but only in WebGL build.
Using Mouse X and Mouse Y values to rotate the camera is working fine in Unity Editor, Standalone and WebPlayer. In WebGL however the mouse speed is both slower and frequently jumps/skips around unreliably. This makes aiming in a first person shooter neigh impossible.
-repro:
--play scene from attached project in the editor
--notice looking around using the mouse is very smooth
--build and run project for WebGL
--NOTICE the look speed is much slower and at times jumps
Comments (1)
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
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
theVirtunaut
Jun 22, 2022 07:01
I think this is happening again. I have a pretty simple aim controller and periodically the first person aim skips and jumps some distance. I've also noticed this in other games that are made in unity and running in webgl made by other companies.