Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Suddenly devices can not load bundles anymore

Discussion in 'Addressables' started by SviperSniper, May 25, 2020.

  1. SviperSniper

    SviperSniper

    Joined:
    Mar 1, 2017
    Posts:
    37
    Hey guys,
    we have a serious issue in our live game:
    The game uses multiple local addressable groups. Everything loaded and worked correctly.
    But with the latest update some devices log the following error for different bundles (Different devices have issues with different bundles):

    Code (CSharp):
    1. Exception encountered in operation Resource<GameObject>(ASSET_Name.prefab): Unable to load dependent bundle from location BUNDLE_NAME
    while others just throw an Unknown error.

    We are using Unity 2019.3.7f1 and Addressables 1.6.2 (with CacheInitializationObject)

    Any idea?
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,816
  3. davidla_unity

    davidla_unity

    Unity Technologies

    Joined:
    Nov 17, 2016
    Posts:
    762
    Hey @SviperSniper this actually sounds similar to an issue we're looking into. Did you upgrade Unity versions by chance? What you might try as a workaround is turning off CRC checks on your Addressable Groups. You can go under the Advanced Options of the Bundled Asset Schema on each of your Addressable Groups and uncheck Use Asset Bundle CRC and the re-build.

    Let us know if that works for you. If not please also make sure you file a bug report for us to track this. Thank you.
     
  4. SviperSniper

    SviperSniper

    Joined:
    Mar 1, 2017
    Posts:
    37
    Hey David,
    we released an update with 2019.3.7f1. Everything worked.
    For the next game update we switched to Unity to 2019.3.13f1. We had to downgrade back to 2019.3.7f1 because of a Facebook SDK Crash though.
    Than the exception occured.

    We do not use CRC checks for any of our groups :/
    I gonna create the report and post the link.
    Thanks for your help!
     
    Prodigga likes this.
  5. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,123
    It's there somewhere we can track the state of this sometimes-updates-will-break-everything bug? Seems kind of important and scary.
     
    ArthurAulicino likes this.
  6. SviperSniper

    SviperSniper

    Joined:
    Mar 1, 2017
    Posts:
    37
    The issue still occurs with Unity 2019.4 and Addressables 1.11.2.
    I finally created the bug ticket: Case 1262993.
     
    mvaz_p and Prodigga like this.