Search Unity

Hash Collision in AssetBundle Variants

Discussion in 'Asset Bundles' started by rubeng, Mar 19, 2019.

  1. rubeng

    rubeng

    Joined:
    Apr 20, 2013
    Posts:
    60
    Hi, we updated our project from 2018.2.14f1 to 2018.3.9f1 and we started getting hash collisions in the deterministic id generation when building our asset bundles

    We created a test project where we just have one asset bundle that is a variant (regular asset bundle seems to work only variants fail), and the bundles are build with the "AssetBundle Browser" provided by unity in the packagemanager.

    The problem seems to be having assets with the same filename in different folders of the assetbundle

    I submitted the (Case 1138555) "Building asset bundle variant with asset with same name in different folders gives collision error"

    and uploaded the test case here https://github.com/rgarat/UnityAssetBundleVariantNameCollision

    Does anyone know any workaround or way to fix this?

    Thanks in advance.

    Rubén