I couldn't get it to work for a while because the new input system (even when assigning keys) wouldn't detect any presses, and playing wouldn't let me move or shoot.
The fix was:
Edit -> Project Settings -> Player -> Other Settings -> Configuration, and set "Active Input Handling" to "Both"
It worked suddenly after restarting.