this is a pretty common bug in unity.
unplug or tun off ALL external input devices aside from mouse and keyboard. controllers, wheels, even a VR setup.
if it persists, you might have to go into device manager and force-disable them one by one till you find the culprit.