概要
ArgumentException: Input Button XXXX is not setup. To change the input settings use: Edit -> Settings -> Input
上記のようなエラーが発生する場合、
using UnityEngine; public class Example : MonoBehaviour { private void Update() { if ( Input.GetButtonDown( "Fire" ) ) { Debug.Log( "Fire" ); } } }
スクリプトで Input.GetButton や Input.GetButtonDown に指定している文字列が

Unity の「Edit > Project Settings...」の

「Input Manager」の中に存在しない可能性があります
(たとえば Fire1 ではなく Fire と指定してしまっているなど)