Library Folder for each target platform possible? / Big project sizes

Hello,

I’ve been working on an massive texture asset heavy project (folder size is 1.42 TB) with Unity5 released as App GlobeViewer. The processing of all assets (building the library) takes nearly one and a half day on my machine. The app is created for Android and iOS so I ended up using a complete copy of the project for each platform to prevent switching the platform in the Unity editor forcing the rebuild of the library. This way I don’t need to update the library for a simple change of code.

Question: Is there a way of telling Unity to create different Library folders, one for each platform? This would speed up switching platforms and I don’t need to hold a complete copy of the project on my harddrives. Is this possible in Unity5 or in the newer versions of Unity?

Thank you and kind regards!

1 Like

I don’t think it is but that’s a good suggestion.

I also work on a heavy project and reimporting the whole project needs to be scheduled because it’s very long. I think there is room for improvement there: for example, avoiding to erase and redo the textures and sounds libraries while they could be kept between platforms as you suggest and between editor updates.

1 Like

There was a thread I think a couple years ago where someone created their own system for symbolic linking different library folders based on the target platform. Sounded interesting. It was only discussed, not any actual scripts posted if I remember.

2 Likes

Thanks for your answers. I think serveral years ago Unity introduced the cache server to speed up the platform change needed rebuild of the Library. That works quite well for smaller projects but in my case not. My cache server is on a SSD for speed reasons and not capable of holding such big data sizes for different platforms - which makes no sense in my opinion.

@Joe-Censored : Unfortunately I can’t find the thread you’ve mentioned in the forum. Thank you.
Edit: You’ve been talking about this thread , right? There are scipts for Windows and Macintosh available here. Thank you very much!

So if I want to suggest such a feature, is there somewhere a place to tell Unity Devs about it (beside the discussion in this forum)?

Kind regards!

The solution works perfectly.

First setup an empty project with all needed platforms (using the batch files). After you’ve switched the target platforms put in all your assets and reimport. Great! Thank you very much!

Yeah that thread looks about right. I only remember it because I read a good number of threads to keep myself aware of what’s going on.