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 PreDownload Remote Addressables Group outside of Unity

Discussion in 'Addressables' started by Tihonyuk, Aug 17, 2022.

  1. Tihonyuk

    Tihonyuk

    Joined:
    Dec 28, 2015
    Posts:
    8
    Hi,
    I'm building application where Unity player intergrated into native app(iOS/Android)

    I want to download remote addressables data before Unity player actually launched.

    I spend some time to discover how Unity stores remote addressables on device.

    Path prefix formed by
    [AssetBundleRequestOptions.BundleName]/[AssetBundleRequestOptions.Hash]

    So by knowing this, I could simulate Addressable Caching without Unity,
    However, I still need to manually build mapping for those [bundle hash]: [addressable_group hash]
    but one thing I don't know is __info
    I can't find in code where and how it's generated and what actually inside.
    (Attached sample of __info file)

    upload_2022-8-17_19-0-32.png


    So my question is does anybody tried this before?
    Am I on the right way, is there is any better way to do this?
    What is __info file and how to manually create it?
     

    Attached Files:

  2. Tihonyuk

    Tihonyuk

    Joined:
    Dec 28, 2015
    Posts:
    8
    Maybe the proper question then is "How to change Local Load Path from StreamingAssets to Application.persistentDataPath"