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

Addressable Download issue

Discussion in 'Addressables' started by kingone, Aug 25, 2021.

  1. kingone

    kingone

    Joined:
    Aug 23, 2017
    Posts:
    3
    I am making a simple click on the screen to pop up the download box, the download box shows the traffic to download and confirm & cancel button
    1. If I use UpdateCatalogs, this will be saved to the local, so if I click the cancel button and re-CheckforCatalogUpdates, the returned List<string> count will be 0, so I cannot continue to download
    2. Then i try to use Addressables.ResourcesLocators to replace UpdateCatalogs , it works in unity well, but when i packed into iPhone, first time it will download assets correctly, then i change a prefab, Update a Previous Build-> upload the bundle on my server, i can see the catalogs have changes to update, however the keys of GetDownloadSizeAsync have not changed and therefore always return 0, so download failed
    3. So i try to use Label to download . As same as Point 2, It is found in iPhone that the catalogs have changes to update, but GetDownloadSizeAsync keeps returning 0, then download failed
     
    Last edited: Aug 25, 2021
  2. kingone

    kingone

    Joined:
    Aug 23, 2017
    Posts:
    3
    2 and 3 work in unity perfectly, but not work in iPhone, is there something I missed?