x


Errors when made a build and stored it in the assets folder.

I'm getting errors after I made a build and placed it into the assets folder, some of my scripts are not compiling.

more ▼

asked Oct 21 '09 at 03:09 PM

user-12 (google) gravatar image

user-12 (google)
21 2 3 3

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

4 answers: sort voted first

The Unity Manual, under the section Publishing Builds says this:

If you are unsure where to save your built game to, consider saving it into the projects root folder. You cannot save the build into the Assets folder.

So, like everyone has said, don't do it. Although the manual doesn't say, I assume saving under the Library folder is frowned upon, too.

more ▼

answered Nov 14 '09 at 05:24 AM

technicat gravatar image

technicat
1.5k 10 11 34

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

You have made builds and placed them in the assets folder?.

This is very bad idea and causes scripts to not compile correctly because of the duplicate dll's placed in the builds.

more ▼

answered Oct 21 '09 at 03:12 PM

user-12 (google) gravatar image

user-12 (google)
21 2 3 3

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

Remove the build files from your Assets folder and store them somewhere else. This should fix the problem.

more ▼

answered Oct 27 '09 at 02:43 AM

Simon Wittber gravatar image

Simon Wittber
293 5 6 14

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

Why did you put the build into the assets folder? The assets folder is for the assets that you are using in your game (models, scripts, shaders, textures, sounds and so on) - not for the builds!

You could place your builds either in a separate folder outside of your project folder (that's what I'm doing) or inside your project folder next to the assets folder (which I think is the default - but it doesn't feel "right" to me).

more ▼

answered Oct 31 '09 at 03:40 AM

jashan gravatar image

jashan
10.1k 25 40 116

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

x1951
x663
x123
x72
x2

asked: Oct 21 '09 at 03:09 PM

Seen: 772 times

Last Updated: Oct 21 '09 at 03:09 PM