Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Building addressables on different machines leads to bundles with different hashes

Discussion in 'Addressables' started by petitbas, Nov 5, 2019.

  1. petitbas

    petitbas

    Joined:
    Sep 9, 2014
    Posts:
    5
    Two different machines (same version of Unity 2019.2.11f1 on Mac OS 10.14.6) pulling the exact same content from Collab and building addressables content leads to different file sizes/hashes (and different catalog entries).

    Is it not possible to build addressables content on interchangeable machines (much less interchangeable os)?

    Has anyone else run into this?
     
  2. DavidUnity3d

    DavidUnity3d

    Unity Technologies

    Joined:
    Nov 17, 2016
    Posts:
    81
    Hey @petitbas this is a known issue. On Asset Database V1 there are issues with determinism across different machines. Shaders are a known component that can cause Asset Hashes to be different across machines but there may be others as well.

    You're using 2019.2 so I think you should have the option to turn Asset Database V2 on though I'm not sure if changing to V2 will have other unintended side effects with Addressables at the moment so take that into account before switching. But it might be worth a try if it's crucial to you. If you already have V2 turned on in the editor it may be a different issue causing the indeterminism.