Error getting locomotion system working on pc unity

I am trying to get the Locomotion system working and I keep running into this error. Actually I get (Object reference not set to an instance of an object) at just about every turn. And I cant get the keyboard input working. But if I activate the wandering AI script he works great. I’m not really a coder so any advice would be helpful :slight_smile:

NullReferenceException: Object reference not set to an instance of an object
PlatformCharacterController.Update ()   (at Assets\Character Controller Scripts\PlatformCharacterController.cs:25)

Thanxs

ummmm that is an error in the script at line 25 what is in that line ?

two

;;

there is something there that is an error and unity editor in general is the same (except for the interface and where the menu bar is)

can u post what u have at that line.

It may be because you don’t have a camera in the scene with the tag “MainCamera”. The script needs such a camera to exist.

When creating a new scene, Unity makes a camera for you with that tag, but you may have deleted it.

Rune

Any tutorial for Unity 3 locomotion system setup?

For locomotion need to setup the animation on leg controller script and Anyone who know about the Animation Group system?

How to setup naming of animation and Which script is working animation?

RuneVision that work for me… Im dumb… Thanks a lot.