Input breaks after clicking razor panel
Author: nixxqualityCreated Sep 17, 2026Updated Sep 22, 2026
Version / Commit
26.09.17-1a68d4e (also happening in current public release)
Describe the bug
I received a report that WASD movement in my game stops working after clicking buttons in the UI. I tested it myself and it indeed breaks. The buttons in question are Razor buttons, and my movement is handled by Input.AnalogMove. After pressing either of the buttons, Input.AnalogMove only reports 0,0,0 despite how much you press WASD. For some reason, opening my pause menu fixes it.
To Reproduce
- Play https://sbox.game/quality/mineshaft
- Note that WASD moves the camera around
- Press Hint
- Note that WASD doesn't move the camera around
- Press Escape to open the pause menu, then Escape to close it.
- Note that WASD again moves the camera around
Expected behavior
Input.AnalogMove should not be broken by interacting with Razor.
Media/Files
No response
Additional context
I'll probably make a smaller repro, but I wanted to make this report quickly.
Source: Facepunch/sbox-public