Search Unity

Error reporting in LoadAssetAsync.

Discussion in 'Addressables' started by yoshitaka-arishima, Sep 10, 2019.

  1. yoshitaka-arishima

    yoshitaka-arishima

    Joined:
    Jul 8, 2019
    Posts:
    5
    An error occurred when executing LoadAssetAsync() on an Android device.
    I don't know in detail, but I imagine that an error occurred when accessing the file in the callback of completion of copying to the cache folder.
    The error log at that time is as follows.
    The file tried to load when an error occurred is different each time.

    ----------------------------------------------------------

    09-10 11:16:42.045: E/Unity(7660): Error while downloading Asset Bundle: Failed to decompress data for the AssetBundle 'jar:file:///data/app/MyAppName-dY9RKnYz5ebtqIozXLWftQ==/base.apk!/assets/aa/Android/Android/builtintips_assets_tips006_80212c1ccc00ed37e38535d5432776c8.bundle'. 09-10 11:16:42.083: E/Unity(7660): Exception encountered in operation Resource<GameObject>(TIPS006.prefab): Unable to load dependent bundle from location Assets/AdrsRes/UI/TIPS/TIPS006.prefab 09-10 11:16:42.083: E/Unity(7660): UnityEngine.AddressableAssets.AddressablesImpl:LogException(AsyncOperationHandle, Exception) 09-10 11:16:42.083: E/Unity(7660): System.Action`2:Invoke(T1, T2) 09-10 11:16:42.083: E/Unity(7660): UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception) 09-10 11:16:42.083: E/Unity(7660): UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, String) 09-10 11:16:42.083: E/Unity(7660): UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider:provide(ProvideHandle) 09-10 11:16:42.083: E/Unity(7660): UnityEngine.ResourceManagement.AsyncOperations.ProviderOperation`1:Execute() 09-10 11:16:42.083: E/Unity(7660): UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeExecute() 09-10 11:16:42.083: E/Unity(7660): System.Action`1:Invoke(T) 09-10 11:16:42.083: E/Unity(7660): DelegateList`1:Invoke(T) 09-10 11:16:42.083: E/Unity(7660): UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent() 09-10 11:16:42.083: E/Unity(7660): UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, String) 09-10 11:16:42.083: E/Unity(7660): UnityEngine.ResourceManagement.AsyncO
     
  2. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    I'm not sure exactly what the issue is from that log. Please file a bug against Unity and we'll look into it.