- Home /
Unity Car Tutorial Error
Hello, I followed the Unity Car Tutorial and instead of the car I added my own model. It gave some errors when I ran it:
Error 1: NullReferenceException: Object reference not set to an instance of an object Car.CalculateState () (at Assets/Scripts/JavaScripts/Car.js:502) Car.FixedUpdate () (at Assets/Scripts/JavaScripts/Car.js:105)
Error 2: NullReferenceException: Object reference not set to an instance of an object Car.UpdateWheelGraphics (Vector3 relativeVelocity) (at Assets/Scripts/JavaScripts/Car.js:323) Car.Update () (at Assets/Scripts/JavaScripts/Car.js:95)
The actual car tutorial ran properly. I couldn't figure out the problem. Any solution would be greatly appreciated.
Please don't create duplicate threads: http://answers.unity3d.com/questions/237579/unity-car-tutorial-error.html
Your answer
Follow this Question
Related Questions
Unity Car Tutorial Error 0 Answers
Unity BurgZergArcade Tutorial 20 errors. 1 Answer
A node in a childnode? 1 Answer
When I spawn the car, I can not hear the sound. Why 0 Answers