- Home /
Car tutorial skidmarks & wheels are not working
I am very new in Unity3D. Just learning on the Car tutorial.
I find that the skidmarks prefab is not work. I also try this solution, reset XYZ to 0,0,0, but it not help, below is the screenshot, any recommend?
And also the wheel is not rotate while the car is moving, how can improve this?
Thanks you.
Answer by Project Zero · Feb 13, 2014 at 07:16 AM
I answer my question,
The tutorial is come from 2 error by default...
UnassignedReferenceException: The variable reflectingMaterial of 'Generate2DReflection' has not been assigned. You probably need to assign the reflectingMaterial variable of the Generate2DReflection script in the inspector. Generate2DReflection.Start () (at Assets/Scripts/CSharpScripts/Generate2DReflection.cs:18 )
UnassignedReferenceException: The variable brakeLights of 'Car' has not been assigned. You probably need to assign the brakeLights variable of the Car script in the inspector. Car.GetInput () (at Assets/Scripts/JavaScripts/Car.js:254) Car.Update () (at Assets/Scripts/JavaScripts/Car.js:91 )
You should fix these 2 error, the skidmarks and the wheel will works like a charm!
Your answer
![](https://koobas.hobune.stream/wayback/20220613133346im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity Car Tutorial how do i load into unity 1 Answer
What is the best way to modify the Car Tutorial for more cars? 2 Answers
Car Demo Question 1 Answer
Need Help Setting Up New Car Using Standard Assets! 0 Answers
Memory leak in Car Tutorial ? 2 Answers