Search Unity

AssetBundle and Dependencies size in Manifest

Discussion in 'Asset Bundles' started by LorenzoNuvoletta, Nov 16, 2018.

  1. LorenzoNuvoletta

    LorenzoNuvoletta

    Joined:
    Apr 28, 2014
    Posts:
    54
    Is there a way to include the asset bundle size in the manifest?
    Something like this:

    AssetBundleInfos:
    Info_0:
    Name: prefabs/ui
    Size: 123456
    Dependencies:

    Dependency_0: textures/ui
    Dependency_1: textures/vfx

    With the new Apple guidelines 4.2.3 ( https://developer.apple.com/app-store/review/guidelines/#minimum-functionality ) It would be great to know ahead of time, before starting download, the size of an asset and the size of all the dependencies.

    Feedback suggestion here: https://feedback.unity3d.com/suggestions/add-file-size-information-to-assetbundle-manifest
     
    Last edited: Nov 21, 2018
  2. geretti

    geretti

    Joined:
    Dec 20, 2016
    Posts:
    11
    This would be a great feature. Right now, we make a large amount of header requests at first, which takes time and is particularly slow on older devices.

    If we could read it off the manifest it would deliver a better user experience overall.