Search Unity

Question How Exactly Does Downloading then Loading an Addressable Asset Work?

Discussion in 'Addressables' started by alecpilola, Jan 8, 2021.

  1. alecpilola

    alecpilola

    Joined:
    Dec 8, 2020
    Posts:
    14
    If I download an addressable using a MergeMode like so.

    Code (CSharp):
    1. Addressables.DownloadDependenciesAsync([somekeys], Addressables.MergeMode.Union);
    Will the following load request prioritize results where there asset is already downloaded? Or will it use the first collision it finds and download the dependencies for that object?
    Code (CSharp):
    1. Addressables.LoadAssetAsync<GameObject>([ADDRESSHERE]);