Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

how to check all asset bundles hash before download?

Discussion in 'Scripting' started by Dzxyan, Jun 19, 2015.

  1. Dzxyan

    Dzxyan

    Joined:
    Sep 23, 2013
    Posts:
    167
    Is it have any script can check the assetbundles hash before start downloading with www.loadfromcacheordowload ??
    i try to show the client to know how many assetbundles that need to update.

    example:
    i got assetbundles manifest

    ManifestFileVersion: 0
    AssetBundleManifest:
    AssetBundleInfos:
    Info_0:
    Name: scene/a
    Dependencies: {}
    Info_1:
    Name: scene/b
    Dependencies: {}
    Info_2:
    Name: scene/c
    Dependencies:
    Dependency_0: object/1
    Dependency_1: object/2
    Dependency_2: object/3
    Dependency_3: object/4

    and im just update the object/3 and object/4
    i want to show client that im have 2 objects need download
    not showing total 7 objects in the list.
     
  2. ANTARES_XXI

    ANTARES_XXI

    Joined:
    Dec 23, 2014
    Posts:
    141
  3. Dzxyan

    Dzxyan

    Joined:
    Sep 23, 2013
    Posts:
    167
  4. ANTARES_XXI

    ANTARES_XXI

    Joined:
    Dec 23, 2014
    Posts:
    141
    From docs:
     
  5. Dzxyan

    Dzxyan

    Joined:
    Sep 23, 2013
    Posts:
    167
    Thanks