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
  3. Dismiss Notice

Bug Android App Bundle Build (.abb) Failed to load any addressable

Discussion in 'Addressables' started by jacky-kschou, Jul 13, 2021.

  1. jacky-kschou

    jacky-kschou

    Joined:
    May 4, 2013
    Posts:
    73
    Hi,

    I have been using addressable for a few months with apk + obb file. Fine to load assets from addressable.

    Because of the upcoming change of policy of Google Play, I start to make build of .abb instead.

    But once I built a .abb version the addressable system failed to load any resources.

    Wtih tones of this Error:
    UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=XXXXXXX, Type=UnityEngine.GameObjectUnityEngine.AddressableAssets.Addressables:LoadAssetAsync

    Anyone has the same experience? Any way to solve this?

    Thank you very much.

    Unity version: 2019.4.17f1
    Addressable version: 1.18.9
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,796
    I'll flag with the team for some guidance!
     
  3. unity_shane

    unity_shane

    Unity Technologies

    Joined:
    Jun 3, 2021
    Posts:
    102
    Hi @jacky-kschou, this definitely sounds like something weird might be happening. First off, if you haven't already I recommend clearing your build cache by going to Build > Clean build in the groups window and then doing a fresh build to make sure it's nothing to do with how the build is being done. If it still doesn't work after that and it still works whenever you don't build a .abb version then this may be a bug, in which case if you could send a bug report with a simple repro project the rest of the team and I will be sure to take a look at it. It seems like .abb builds in general are working, so my guess is it may be something specific to your project and with a repro project we'll be better able to help keep the issue from further affecting you and other users. Thank you and sorry for the inconvenience!
     
  4. jacky-kschou

    jacky-kschou

    Joined:
    May 4, 2013
    Posts:
    73
    thanks shane, I have the problem solved : )