x


Is there an assets subfolder that the Unity compiler will ignore? (Asset Server Related))

Is there an assets subfolder that the Unity compiler will ignore? I want to put the c# source code to a dll plugin into the Unity project folder (so that it will get backed up with the asset server). Since this code is being compiled separately I need the mono compiler to ignore it.

more ▼

asked Mar 23 '10 at 11:09 PM

badneighbor gravatar image

badneighbor
99 5 5 12

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

4 answers: sort voted first

What you could do - instead of making it a subfolder of Assets, make a folder on the same level as Assets. Unity will ignore it, and you can add it to Subversion so it's sync'ed.

more ▼

answered May 04 '10 at 06:54 PM

Cyclops gravatar image

Cyclops
7.1k 33 63 115

I am currently using the unity branded asset server on my server. The unity branded asset server does not sync anything outside of the asset folder.

Your idea is a good reason migrate my projects to be under SVN control over Asset Server...

May 19 '10 at 10:04 PM badneighbor
(comments are locked)
10|3000 characters needed characters left

This is a totally sketchy hack I am currently testing out now that allows you to use the unity3d branded asset server with c# files that are not supposed to be intrepreted by the unity engine.

1) create a local svn repository inside of your asset folder.

2) check it out to the folder on the same level as assets

3) Add ignore tag to asset folder and library

Now you can add files outside of the asset folder to the local svn. Then When you check in the Unity3d project to the asset server, the local svn gets checked in.

Basically, it adds a level of indirection...

more ▼

answered May 19 '10 at 10:24 PM

badneighbor gravatar image

badneighbor
99 5 5 12

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

Perhaps the simplest option - make a project just for the DLL? That way it should compile fine in unity as source, and you won't need to keep the DLL in the project

more ▼

answered May 19 '10 at 11:20 PM

Mike 3 gravatar image

Mike 3
30.5k 10 65 253

Mike, what sort of project are you suggesting? I.E. A Mono / csproj? A Unity project?

Also, would this project be in a separate directory structure or within the original Asset folder?

Thanks!

Nov 02 '10 at 05:32 PM Jeff Kingsley
(comments are locked)
10|3000 characters needed characters left

If you're using SVN, you may be able to add an svn:ignore tag to the files and/or folders that you don't want to be synced, though I'm not sure if Unity Asset Server respects that property or not. Other than that, I'm not sure (and my guess is it's not possible).

more ▼

answered Mar 24 '10 at 03:25 AM

qJake gravatar image

qJake
11.6k 43 78 161

It quite likely doesn't - he actually does want the folder synced, just ignored by the compiler.

Apr 21 '10 at 03:26 PM Ricardo
(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:

x181
x72
x63
x62
x59

asked: Mar 23 '10 at 11:09 PM

Seen: 2385 times

Last Updated: Apr 21 '10 at 03:25 PM