Search Unity

Does a remote Adressable Asset be saved in the project ?

Discussion in 'Addressables' started by Kiupe, Jul 19, 2018.

  1. Kiupe

    Kiupe

    Joined:
    Feb 1, 2013
    Posts:
    528
    Hello,

    Question may sound stupid but I'm not sure to have quite understand how asset are managed/treated when they are downloaded from a remote location

    - Does the asset be saved in the project and then can be re-used later without having to re-download it ?
    - If yes, and I hope it's the case, is it possible to delete it later ?

    Extra question :

    - Is it possible via an API to know all AdressableAsset set-up in a project ? May be having details like all the group, the group information and all AdressableAsset set to this group ?

    Thanks
     
  2. MaskedMouse

    MaskedMouse

    Joined:
    Jul 8, 2014
    Posts:
    1,092
    The addressable system makes use of Asset Bundles. Asset Bundles have been there for ages but you always had to write your own system to actually load them. Thats where addressable asset system comes in, they took care of it for you.

    The bundles are cached through Unity's Caching system. If the asset bundle is updated remote, it will know and it will grab the new version from remote. I'm unsure about the API to actually delete a bundle. Caching does have it but not sure how that'll work together with Addressables.