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 (Case 1378146) can't be loaded because another AssetBundle with the same files is already loaded

Discussion in 'Addressables' started by su9257, Nov 24, 2021.

  1. su9257

    su9257

    Joined:
    Jun 13, 2017
    Posts:
    27
    The first download must be an error, in unity2020.3 did not encounter such a problem


    errorlog
    ```
    The AssetBundle 'http://10.0.0.61:54262/otherjson_assets_all.bundle' can't be loaded because another AssetBundle with the same files is already loaded.
    UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1/<>c__DisplayClass57_0<System.Collections.Generic.IList`1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle>>:<add_CompletedTypeless>b__0 (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<System.Collections.Generic.IList`1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle>>)
    DelegateList`1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<System.Collections.Generic.IList`1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle>>>:Invoke (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<System.Collections.Generic.IList`1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle>>) (at Library/PackageCache/com.unity.addressables@1.19.11/Runtime/ResourceManager/Util/DelegateList.cs:69)
    UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1/<>c__DisplayClass57_0<UnityEngine.ResourceManagement.ResourceProviders.IAssetBundleResource>:<add_CompletedTypeless>b__0 (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.ResourceManagement.ResourceProviders.IAssetBundleResource>)
    DelegateList`1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.ResourceManagement.ResourceProviders.IAssetBundleResource>>:Invoke (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.ResourceManagement.ResourceProviders.IAssetBundleResource>) (at Library/PackageCache/com.unity.addressables@1.19.11/Runtime/ResourceManager/Util/DelegateList.cs:69)
    UnityEngine.AsyncOperation:InvokeCompletionEvent ()
    ```
    upload_2021-11-24_11-56-14.png
    upload_2021-11-24_11-56-21.png
     

    Attached Files:

  2. su9257

    su9257

    Joined:
    Jun 13, 2017
    Posts:
    27
    A simple example is included where a bug occurs when clearing the cache or the first download, which is not the case in Unity2020.3