x


New C# scripts fail to build

My game runs perfectly fine in preview mode, but if I try to build the system, I get the following error:

alt text

I've tried deleting the build directory, reimporting all assets, even reinstalling Unity, nothing works. Perfect in preview mode, does not allow me to rebuild. This is Unity 2.6.1 by the way. Any advice appreciated.

more ▼

asked Jan 04 '11 at 11:37 PM

psamtani gravatar image

psamtani
11 2 2 3

Try using 3.1, it auto-updates everything for you (For the most part I believe).

Jan 04 '11 at 11:52 PM Justin Warner
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Unity may have gone a little insane for one of various possible reasons. (For me it usually happens when I change the project's name)

It happens to be sometimes but I'm a mac so I don;'t know what insane Unity looks like on a PC.

Try exporting all your assets as a uniytpackage,creating a new project, and importing that unitypackage.

more ▼

answered Mar 02 '11 at 07:34 PM

Flynn gravatar image

Flynn
1.3k 15 21 40

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

I had something like this. Try turning off virus scanning. If you hit Try Again enough, does it finally work? And yeah, 3.1 might fix it (I haven't seen the problem in a while). If it is the virus scanner, you may be able to exclude folders/files from the scan that interfere with Unity.

more ▼

answered Jan 05 '11 at 01:09 AM

DaveA gravatar image

DaveA
26.5k 151 171 256

(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:

x3731
x656
x342

asked: Jan 04 '11 at 11:37 PM

Seen: 820 times

Last Updated: Jan 04 '11 at 11:37 PM