Search Issue Tracker

Fixed

Fixed in 1.20.3

Votes

3

Found in [Package]

1.19.19

Issue ID

ADDR-2656

Regression

No

[Addressables] Error is thrown after Addressables Build is updated when DownloadDependanciesAsync is called

Package: Build Pipeline - Addressables

-

How to reproduce:
1. Open the attached "1388193_Repro.zip" project
2. Open the Scene "SampleScene"
3. Open the Addressable Groups (Window->Asset Management->Addressables->Group)
4. Build the Addressables (Build->New Build->Default Build Script)
5. Select "PrefabA1.prefab" from Addressables
6. In the Inspector make so changes and save it
7. In the Addressable Groups press Tools->Check For Content Update Restrictions
8. Select Android->addressables_content_state.bin and "Open"
9. Press "Apply Changes"
10. Update the Addressables build (Build->Update Previous Build, then Android->addressables_content_state.bin->"Open")
11. Enter the Play Mode
12. In the Game View press "InitializeAsync"->"CheckForCatalogUpdates"->"UpdateCatalogs"->"DownloadDependenciesAsync"

Expected results: No errors are thrown
Actual results: The "RemoteProviderException : Invalid path in AssetBundleProvider: ''." error is thrown

Reproducible with: 1.19.18, 1.19.19 (2019.4.37f1, 2020.3.31f1, 2021.2.16f1, 2022.1.0b13, 2022.2.0a8)
Could noty test with: 1.19.17 (2019.4.37f1, 2020.3.31f1) ("Unable to open archive file" error is thrown when downloading dependencies async)

  1. Resolution Note (fix version 1.20.3):

    Fix will be in 1.20.1

Comments (2)

  1. adani_zynga

    Jan 04, 2023 07:14

    Even I am facing this exact issue on addressables package v1.19.19. Does anyone know if this is still in progress or fixed in the later versions?

  2. Abed_Kadah

    Oct 31, 2022 14:26

    Same here when we updated our bundles (they are mixed of local and remote bundles).

    from Android studio logcat (android build)
    here is the error:

    2022-10-31 16:19:11.289 19090-19139/? E/Unity: OperationException : ChainOperation failed because dependent operation failed
    OperationException : GroupOperation failed because one of its dependencies failed
    RemoteProviderException : Invalid path in AssetBundleProvider: 'jar:file:///data/app/~~RmXw4gk31zKV4Qzd1nOBow==/AppName-ioe6T0SWKrjw3l2dvYcKiQ==/base.apk!/assets/aa/1.1.0/Android/common_assets_scenes_all_352bcf0f71785a46178a70f4b2c38cc8.bundle'.
    UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception)
    UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, Exception, Boolean)
    UnityEngine.ResourceManagement.ChainOperationTypelessDepedency`1:OnWrappedCompleted(AsyncOperationHandle`1)
    DelegateList`1:Invoke(T)
    UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent()
    UnityEngine.ResourceManagement.ResourceManager:ExecuteDeferredCallbacks()
    UnityEngine.ResourceManagement.ResourceManager:Update(Single)
    MonoBeh

    btw, "common_assets_scenes_all_352bcf0f71785a46178a70f4b2c38cc8.bundle" is locale build and load bundle

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.