- Home /
Stealth Error- Input Button Sneak is not set up + object references not set to instance
I have been following the tutorials in every detail and I can't get this to work at all. There are no error in the script but something is wrong. I took the PlayerMovement script from the Done folder and have made the changes necessary.
Does anyone have any ideas how to fix this please?
Answer by tanoshimi · Jul 03, 2014 at 06:52 AM
For the first, set up a sneak button in the input manager: http://docs.unity3d.com/Manual/class-InputManager.html
For the second and third, please post the code lines to which the errors relate (43 and 52 of PlayerMovement.cs)
I've already set it up but it hasn't changed anything. I never saw the tutorial set it up.
I have no idea what tutorial you're following, but I'm explaining to you what the error message is saying: that you haven't set up a button called "Sneak"