はじめに
以下のようなエラーが出てきたので、対処法をメモしておきます。
InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings.
対処法
新しいInputSystemが導入されているのに、古いInputManagerを使っているのでこのエラーが出てきます。
古いInputManagerに戻すにはProjectSettings -> PlayerよりActive Input HandlingをBothにしてあげればOKです。

古いInputManagerしか使わない、もしくは新しいInputSystemに置き換える場合は、それ以外を選ぶと良いでしょう。