Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Input axis vertical is not set up

Discussion in 'Scripting' started by Devidze, Jul 10, 2015.

  1. Devidze

    Devidze

    Joined:
    Jul 10, 2015
    Posts:
    6
    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. Screenshot (2).png Screenshot (1).png
     
    GabrielB_11 likes this.
  2. DanielQuick

    DanielQuick

    Joined:
    Dec 31, 2010
    Posts:
    3,137
    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".
     
    Last edited: Jul 10, 2015
  3. Devidze

    Devidze

    Joined:
    Jul 10, 2015
    Posts:
    6
    Thank you a lot it worked. It was so simple mistake i would never find it without help.
     
  4. jons190

    jons190

    Joined:
    Sep 13, 2016
    Posts:
    260
    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.
     
  5. jonahvolow

    jonahvolow

    Joined:
    Aug 18, 2020
    Posts:
    1
    I Am having the same problem and i did what it said but im having trouble do you have any suggestions?
     
    karma4242 likes this.
  6. GabrielB_11

    GabrielB_11

    Joined:
    Oct 25, 2022
    Posts:
    1
    meu amigo muitto obrigado me adudou muito.