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.

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.

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).

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...

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

look http://docs.unity3d.com/Manual/UsingWebPlayertemplates.html :slight_smile:

I realize this is a very old post but I found it while looking for the same thing, so I thought I’d drop this here just in case anyone else has the same problem in the future.

According to the unity manual there are a couple of ways to hide files from unity within the Assets folder:

During the import process Unity completely ignores the following files and folders in the Assets folder (or a sub-folder within it):

  • Hidden folders.

  • Files and folders which start with ‘.’.

  • Files and folders which end with ‘~’.

  • Files and folders named ‘cvs’.

  • Files which have ‘tmp’ extension.