Unity 6 InvalidOperationException when you press Play: find the source and fix your input code
New Unity 6 projects enable only the new Input System by default, so a script that reads the keyboard through the Input class throws InvalidOperationException every frame as soon a …