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

Question Addressables remote catalog cache

Discussion in 'Addressables' started by Epsilon_Delta, Jul 19, 2023.

  1. Epsilon_Delta

    Epsilon_Delta

    Joined:
    Mar 14, 2018
    Posts:
    205
    I have a problem updating remote catalog.

    If I replace my remote catalog with the catalog of the same name, it is not updated. It looks like the remote catalog is somewhere cached, but I can't find where.

    I deleted my catalog from my server (if I want try to downloaded from the web browser I get "Not Found"), I deleted all data in my Android app, I uninstalled and installed the app, deleted data again. After I run the app it "downloads" the remote catalog successfully. I don't know where is it cached.

    Renaming the catalog and ergo creating new URL resolves the issue but it is unacceptable solution for me.

    Does anybody know where the remote catalog is cached on Android device? Is it some WebRequest secret cache or something?
     
  2. Alan-Liu

    Alan-Liu

    Joined:
    Jan 23, 2014
    Posts:
    334
  3. Epsilon_Delta

    Epsilon_Delta

    Joined:
    Mar 14, 2018
    Posts:
    205
    That cache is wiped when App storage is deleted. I don't have anything there, yet the mysterious catalog is downloaded from somewhere

    Btw I don't see such folder on my Android anyway. I can see cached bundles in PersistentPath/Files/UnityCache/ but not the catalog and not com.unity.addressables folder. I use LoadContentCatalogAsync to download it.

    I see such folder in the editor though.
     
    Last edited: Jul 20, 2023