Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMustafa Kayani
440 PointsArgumentException: Input Axis horizontal is not setup.
ArgumentException: Input Axis horizontal is not setup. To change the input settings use: Edit -> Project Settings -> Input PlayerMovement.Update () (at Assets/How to Make a Video Game/Assets/Scripts/PlayerMovement.cs:29)
I have seen other answers and they do not help. Could my script be wrong?
1 Answer
Samuel Savaria
4,809 PointsAxis are case sensitive. You need a capital letter at the start, "Horizontal" not "horizontal".
Also, not all problems can be solved this easily. We would very much like if you could post your code next time you have an issue.
Cheers.