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

WebGL

-

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

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

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.