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

Hash file name is different when building on different PC

Discussion in 'Addressables' started by kumamoto10, Sep 12, 2019.

  1. kumamoto10

    kumamoto10

    Joined:
    Jun 25, 2018
    Posts:
    18
    Is the hash file name different when building with the same project data?
    Also, when building with the same project data, the file contents may be different.
    Is there anything that can be considered as a factor?

    Unity 2019.1.3f1
    Addressables 1.2.2
     
  2. kumamoto10

    kumamoto10

    Joined:
    Jun 25, 2018
    Posts:
    18
    If “Bundle Naming” of BundledAssetGroupSchema is set to “No Hash”, the file names will be the same on the two PCs, but some of the file contents will be different.
    Also, even if the same revision managed by SVN on two PCs is built, the contents of the file are different or the guid of the meta file changes.
    Even if there is no difference in SVN, if you perform Addressables build, the guid described in the output meta file will also change.
     
  3. Favo-Yang

    Favo-Yang

    Joined:
    Apr 4, 2011
    Posts:
    464
    Short version, build on the same machine. Long version here