how to make unity build folders share the same assets

707 Views Asked by At

I have multiple Unity3d applications (projects). But the underlying scenes and assets are meant to be common across these different applications. Right now, I am having to manually copy the assets folder across the different projects before a build is taken.

How can I make my Unity project refer to a common assets folder (shared between more than one Unity project)?

Is this possible ?

1

There are 1 best solutions below

2
On BEST ANSWER

You should be able to do this with symbolic links.

If you are using windows:

https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/mklink

For example:

# mklink /d link target
mklink /d "C:\unity\mysharedfolder" "C:\unity\project1\linktosharedfolder"

Or on a Unix system:

man ln

For example:

ln -s ./mysharedfolder/ ./project/linktosharedfolder