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

Question about DeterministicAssetBundle

Discussion in 'Editor & General Support' started by helloem, Mar 7, 2014.

  1. helloem

    helloem

    Joined:
    Aug 30, 2013
    Posts:
    4
    With BuildAssetBundleOptions.DeterministicAssetBundle,we can get a same AB when rebuild it.This is a very
    import thing.For we can use SVN or MD5 to judge whether the AB is changed.(then player can download it with WWW).
    But in the doc,it said that
    " Due to it being a 32 bit hash space, if you have a lot of objects in the asset bundle it will increase the potential for hash conflicts"
    "The hash is based on the GUID of the asset and the local id of the object in the asset"

    So questions:
    .Has somebody know the algorithm of the GUID?Building AB with different Unity projects(different tools),is there some risk to error?
    .If the conflicts happen easily?When happend,how to fix it?
     
  2. rlyle1179

    rlyle1179

    Joined:
    Oct 3, 2012
    Posts:
    5
    I'm hitting hash ID conflicts with our bundle building process as well, with not that many assets honestly... :(

    I'd like to know what hash routine your using and if there is a way for me to bypass or or provide my own hash ID's.