Search Unity

Asset Bundle Load Compression/Decompression Time is Slow

Discussion in 'Asset Bundles' started by Zullar, Mar 29, 2019.

  1. Zullar

    Zullar

    Joined:
    May 21, 2013
    Posts:
    651
    I was having slow AssetBundle loading using AssetBundle.LoadFromFile( ) on my PC with SSD. After some digging here's what I found.

    BuildAssetBundleOptions.None: AssetBundle is 366MB but takes 26 seconds to load
    BuildAssetBundleOptions.UncompressedAssetBundle: AssetBundle is 748MB but takes 2 seconds to load.

    So if anybody is having slow loading (or simply wants development to go faster) try out BuildAssetBundleOptions.UncompressedAssetBundle!
     
    Last edited: May 7, 2021
  2. KaylerrButSkye

    KaylerrButSkye

    Joined:
    Jan 7, 2021
    Posts:
    2
    thank you so much for telling me this, I thought UncompressedAssetBundle would make 0 difference and take longer to make the asset be created.