[Addressables] Invalid path in AssetBundleProvider (Android only)

Unity: 2021.3.35f1 | Addressables: 1.21.8
OS: Android 9.0 - 14.0 | Devices: Any

When the application runs on random devices and attempts to load assets from specific local groups for the first time, we encounter an error:

  1. handle = Addressables.LoadAssetAsync<GameObject>(key)
  2. result = await handle.Task;
  3. result is null

error in Crashlitycs:

Non-fatal Exception: java.lang.Exception
RemoteProviderException : RemoteProviderException : Invalid path in AssetBundleProvider: ‘jar:file:///data/app/~~O-G1vmgaVIEdH0tGKoKZhA==/com.my.game-K0D3MVI5oA490AuJdr2bLQ==/split_UnityDataAssetPack.apk!/assets/aa\Android\popups_assets_all_3e0c03fe682ed443c10260e00ec8f439.bundle’.

Assets in bundles in APK/AAB are correct. If the application is run again, there are no errors. What is causing this and how can it be fixed? Thanks a lot.

1 Like

Could calling method Resources.UnloadUnusedAssets() trigger this error?

We run into the same issue. Easily reproduce when you install the app and then do an update with a newer version.
Unity: 2022.3.21f1 | Addressables: 1.21.20

2 Likes

Have the same issue. Been happening on all Addressables versions (at least since 1.19.x)