Search Unity

Addressable Asset Bundle not cached

Discussion in 'Addressables' started by m-mine, Jul 26, 2019.

  1. m-mine

    m-mine

    Joined:
    May 23, 2018
    Posts:
    19
    I set CacheInitializationSettings->cache directory overrride
    {UnityEngine.Application.temporaryCachePath}/download

    when play game and load asset there is no cached bundle file in {UnityEngine.Application.temporaryCachePath}/download
    and load always call webrequest
     
  2. dnnkeeper

    dnnkeeper

    Joined:
    Jul 7, 2013
    Posts:
    84
    I haven't used CacheInitializationSettings before but I assume It needs to be assigned to AddressableAssetSettings -> InitializationObjects list. Did you do it?
     
  3. m-mine

    m-mine

    Joined:
    May 23, 2018
    Posts:
    19
    yes, I assigned to AddressableAssetSettings -> InitializationObjects list
     
  4. m-mine

    m-mine

    Joined:
    May 23, 2018
    Posts:
    19
    Can someone tell me where is default cache file path?
     
    dnnkeeper likes this.
  5. trunghieu974

    trunghieu974

    Joined:
    Jun 19, 2015
    Posts:
    25
    I also face this problem. My game has to redownload all assets everytime i open it. No cache :/
    Does anyone know how to cache addressable asset download from server?
     
  6. ctapp1

    ctapp1

    Joined:
    Jan 11, 2016
    Posts:
    9
    I would like to know the answer to this as well. Mine are downloading everytime.
     
  7. ctapp1

    ctapp1

    Joined:
    Jan 11, 2016
    Posts:
    9
    Edit: Mine are being cached and loading properly. Tested with network off, connecting to remote cdn. using 2019.2.11 and addressables 1.4.0