x


"Not finished compiling"? I'm a complete newbie - help?

This probably is a stupid question, but I'm 13 and a total newbie to Unity and Javascript and don't know what to do. So I took a script from the Island Demo project and imported it into my other project to see if it would work. I tried to add it to a gameobject, but it said "It hasn't finished compilation yet". I copied the text, made a new Javascript file, and tried again. Same thing. What does this message mean? If time means anything here, I created the script about 15 minutes ago. Help? EDIT: Got it! Man, how did I miss that...

more ▼

asked Apr 11 '10 at 11:43 PM

jamesster gravatar image

jamesster
66 7 8 12

(comments are locked)
10|3000 characters needed characters left

4 answers: sort voted first

Soooo. Did you answer your own question? I can't tell what the edit means. If it takes that long to compile, the script usually has an error. Check the console. Judging by the fact that you dragged it into another, I would guess that the script references a class in the island demo that you don't have in your project. Go through the script and either remove or edit the lines the console says do not exist.

more ▼

answered Apr 12 '10 at 12:27 AM

Peter G gravatar image

Peter G
15k 16 44 136

Well, I found the problem (The errors - 2 of them), but didn't know how to fix them. Thanks for the help, it works now!

Apr 12 '10 at 12:34 AM jamesster

Good, and good luck with Unity!

Apr 12 '10 at 12:44 AM e.bonneville

Don't forget to select a good answer as the correct one so others will see you question and know the answer.

Apr 12 '10 at 01:15 AM Peter G
(comments are locked)
10|3000 characters needed characters left

I think you'll find that that's because there was an error in the script. Is that the case? BTW, you aren't the only 13 year old... See my page.

more ▼

answered Apr 12 '10 at 12:28 AM

e.bonneville gravatar image

e.bonneville
5.7k 100 116 165

Awesome I'm 15.

Apr 12 '10 at 01:14 AM Peter G
(comments are locked)
10|3000 characters needed characters left

LOL im also 13, and how do you edit, like what do you remove or add... im confused... im trying to make third person rpg/mmo with my friends and we keep getting compilation errors, anyone that can help?

more ▼

answered Mar 21 '11 at 11:47 PM

spartan600 gravatar image

spartan600
1 1 1 1

(comments are locked)
10|3000 characters needed characters left

im 13 as well... and i have gotten this error a fair bit... tried to fix... and worked..

more ▼

answered Jul 10 '10 at 02:11 AM

ExiZtenC gravatar image

ExiZtenC
1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3464
x72

asked: Apr 11 '10 at 11:43 PM

Seen: 5344 times

Last Updated: Apr 11 '10 at 11:52 PM