Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

CRC Mismatch

Discussion in 'Addressables' started by Wawro01, Jul 25, 2019.

  1. Wawro01

    Wawro01

    Joined:
    Apr 23, 2014
    Posts:
    30
    Hey how to deal with this? I have android build, that was built with Unity 2018.4.3f1 and installed on device. Then I upgraded to 2018.4.4f1 rebuilt it and got this error when running on device. Obviously CRC of bundles changed and is different from cached ones, but hashes stayed the same.

    Code (CSharp):
    1. Error while downloading Asset Bundle: CRC Mismatch. Provided 80fa3744, calculated 6f98367 from data. Will not load AssetBundle
    2.  'jar:file:///storage/emulated/0/Android/obb/com.company.product/main.230067.com.company.product.obb!/assets/aa/Android/Android/assets-gui_assets_all_b5609a652ee5a44e2175258937fa7653.bundle'
    Is this the case? https://forum.unity.com/threads/bug-retry-load-with-failed-crc.693751/

    Thanks
     
    Last edited: Jul 25, 2019
  2. Wawro01

    Wawro01

    Joined:
    Apr 23, 2014
    Posts:
    30
    Bump, is this a bug? Or is there a way to detect this and redownload?
     
  3. unity_bill

    unity_bill

    Unity Technologies

    Joined:
    Apr 11, 2017
    Posts:
    954
    this feels like a bug, and yes, it does seem to be the same thing as the linked post. We'll look into it
     
  4. OmnifunGames

    OmnifunGames

    Joined:
    Feb 28, 2017
    Posts:
    1
    I have same error when upgrading from 2019.2.7 to 2019.2.8 (before upgrade was working fine):

    Error Unity Error while downloading Asset Bundle: CRC Mismatch. Provided 5e94fde7, calculated 7be4dddd from data. Will not load AssetBundle 'jar:file:
    Error Unity: Exception encountered in operation Resource<IAssetBundleResource>(defaultlocalgroup_unitybuiltinshaders_42d35f3191ce5f155b13754293d36a91.bundle): RemoteAssetBundleProvider unable to load from url jar:file:.bundle, result='Request aborted'.
    Error Unity: Exception encountered in operation Dependencies: RemoteAssetBundleProvider unable to load from url jar:file:/result='Request aborted'.

    Edit:
    I Uninstalled manually app from android device and then build & run from unity again (cleared and rebuilded addresables content) and now i dont see crc error anymore.
    Looks like some caching problem after upgrading from older version of unity. Dont know if its related to addresables or not but im using 1.1.4 right now.
     
    Last edited: Oct 11, 2019 at 7:20 PM