Search Unity

Exporting a bundle for all platforms is very slow

Discussion in 'Asset Bundles' started by andyz, Aug 27, 2019.

  1. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    1,128
    It's still is unclear about which platforms can share asset bundles due to same format (and shaders?).

    But regardless if you have to export a bundle to 4 different platforms and have a script to do that, it is very slow, as the editor re-imports all assets as it switches platform. This is very silly! Can it be made better?

    Has 2019 introduced improvements?
     
  2. AlkisFortuneFish

    AlkisFortuneFish

    Joined:
    Apr 26, 2013
    Posts:
    639
    2019.3, which is currently in beta, introduces AssetDatabase v2, which helps with that. Without that, you need to either use the Cache Server, or use different working directories for each platform. We do both of the latter options here.