Input axis vertical is not set up

Hello guys, im new here and i trying to make my first game PONG. So after some scripting there is a problem it says:
ArgumentException: Input Axis vertical is not setup.
To change the input settings use: Edit → Project Settings → Input
paddle.Update () (at Assets/scriptes/paddle.cs:11)

So i tried many things but still with no change. please help if you can here is some pictures of my work.

1 Like

Did you do what the error suggested? Make sure the vertical input axis is set up in Edit → Project Settings → Input.

If you are trying to use the default vertical axis setup, it is “Vertical”, not “vertical”.

6 Likes

Thank you a lot it worked. It was so simple mistake i would never find it without help.

UnityException: Input Axis Horizontal is not setup [SOLVED]

I just found out what was causing my issue and I suspect many others may have this issue.

For what ever reason (could have been an prefab import)I ended up with an "eventhandler
" prefab that mysteriously showed up buried deep in my Hierarchy tab in the Unity Editor. Attached to this “EvenHandler” prefab was a “standaloneinput” .C# script. I deleted this script and viola! No errors… I think it was conflicting with my custom input script.

I Am having the same problem and i did what it said but im having trouble do you have any suggestions?

1 Like

meu amigo muitto obrigado me adudou muito.