car_tutorial: Script error when opening project :(

Hey guys, I’m trying to make it through the car_tutorial, but as soon as the project opens I get the following error (and subsequently cannot attach any scripts to objects):

The DamageReceiver script is definitely in the folder, I can’t figure out why it is saying the name can’t be found (it seems to be defined in the DamageReceiver script)

Any ideas?

Move that paticular script out of the Unity directory, and if u need it later import it seperately.
Sometimes you need to check the extensions of scripts:
myScript.cs
myScript.js

Make sure they have their extensions
AC

Hmm, that script is actually located in the project folder - (not the Unity directory) - is it being duplicated in two places?

No its not ,Im just giving you dodgy instructions
I mean move it from project Folder
To be sure… :roll:

You could also try bringing up the Unity console window by clicking on the error message in the status line.

There is probably an error in the other script that makes it fail. The status line only shows the last error in the compiler output, but the most important one is usually one of the first ones.

Thanks guys, actually deleting the DamageReceiver script from the assets in the project pane, and then IMPORTING it from the assets menu item seemed to correct it. I guess it needed to be slapped. Thanks again!