Shared assets

I’ve got client and a server projects in unity. I want to share a lot of assets between them. How do I point the project window towards folders that aren’t directly inside of the assets folder?

1 Answer

1

This is… really old isn’t it. Its also super vague. Like, I doubt anybody knew what I meant.

Anyways, my problem was that I wanted to make two separate projects. One for a server, one for a client. I wanted to share a bunch of assets between those two, totally separate projects.

At first I solved the problem by using version control hacks. I got my repository to automatically clone a lot of the assets to the two projects, because no, unity can’t view assets outside its assets folder. Ever. Which is ok, in retrospect. it keeps track of those files with lots of metadata, and keeping data on any arbitrary folder in your computer would be crazy and uncalled for.

Later, I figured out my real mistake was making the client and server seperate projects.

YOUR CLIENT AND SERVER SHOULD BE THE SAME PROJECT. 9/10 times. Unless your making some kind of crazy MMO, and even then, use the same project, if your working with unity.