Input.GetAxis("Mouse X") only returns value when mouse button is held down

I am trying to read the mouse movement, but it only reads when a mouse button is held down. This is the case for both in-editor and when built. I am not sure exactly what is causing this issue, any thoughts?

Have you changed how the axis has been set up in the InputManager? Or is the call to Input.GetAxis guarded by mouse-click input?

Posting your code is probably helpful.

1 Like