Search Unity

Resolved How to update AssetBundleManifest after downloading remote Bundles?

Discussion in 'Asset Database' started by vectorized-runner, Aug 25, 2022.

  1. vectorized-runner

    vectorized-runner

    Joined:
    Jan 22, 2018
    Posts:
    398
    In our Asset System, we store some bundles locally (packed with Player build) and rest of them are downloaded after the player installs the game.

    As far as I understand, the Locally built bundles will have their own AssetBundleManifest, and the bundles we upload to the cdn will have its own AssetBundleManifest. Therefore we can't have Remote bundles referencing Local bundles, or the Local bundles referencing the remote ones.

    Am I thinking about this problem correctly, and is there a solution to this?

    A possible solution would be this: The full AssetBundleManifest will be included in Player build (Local+Remote), but only the Local Asset bundles. Now this would require full content build (if I'm not mistaken), defeating the purpose of remote assets.

    Edit: I think full content build is ok, we could delete the remote bundles from local after getting a content build.
     
    Last edited: Aug 25, 2022
  2. jdrewsen

    jdrewsen

    Unity Technologies

    Joined:
    Mar 28, 2011
    Posts:
    204