Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Can i place asset bundles directly in Unity`s cache folder, when i install a game?

Discussion in 'Editor & General Support' started by ayrton2389, Mar 4, 2014.

  1. ayrton2389

    ayrton2389

    Joined:
    Oct 25, 2013
    Posts:
    23
    We are making most of our game assets as bundles, so it would be easier to make quick changes, without going through the AppStore review process. We are using the WWW.LoadFromCacheOrServer function.

    Thing is, for the very first version of the assets, we would like the users to download them from the AppStore. We want them to download the full game, so they can jump right into it and play when their appstore download is done.

    My question is, can we somehow place the bundles directly in Unity`s cache folder, the same place where bundles are stored for WWW.LoadFromCacheOrServer() function, when the user downloads/installs the game?
     
  2. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    No, that's not possible. Just embed these game-start assets into the build instead of exporting them as asset bundles.
     
  3. ayrton2389

    ayrton2389

    Joined:
    Oct 25, 2013
    Posts:
    23
    Thank you very much. Glad i found an answer.
     
  4. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    Just for your information: Double posting is not allowed in this forum.
     
unityunity