How would I fix my Input Axis Mouse X and Y and Input Button Jump?

I created a Unity scene and I imported in an asset I created in the MAYA program and edited in Photoshop. I have a First Person Controller and a robot Kyle and a Main Camera along with Graphics, two cubes, and a directional light.

I tried to play and move Kyle around in my scene but these 3 errors pop out. I receive these 3:

UnityException: Input Axis Mouse Y is not setup.
To change the input settings use Edit → Project Settings → Input

UnityException: Input Button Jump is not setup.
To change the input setting use Edit → Project settings → Input

UnityException: Input Axis Mouse X is not setup.
To change the input settings use Edit → Project Settings → Input

I click on all 3 of them and I see these 3 lines in coding:

rotationY += Input.GetAxis(“Mouse Y”) * sensitivityY;

motor.inputJump = Input.GetButton(“Jump”);

transform.Rotate(0, Input.GetAxis(“Mouse X”) * sensitivityX, 0);

Can you please help me see what parts of the coding do I need to fix to make this work?

1 Answer

1

Did you delete the default input Manager setup?

The default should look like this:

alt text

The exceptions are complaining that the settings by name are missing.

Input Manager Documentation