Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Asset bundle download path

Discussion in 'Unity Cloud Content Delivery' started by jctalespin, Aug 20, 2021.

  1. jctalespin

    jctalespin

    Joined:
    Oct 25, 2018
    Posts:
    9
    Hello,

    I was searching through the forum and couldn't find the answer to where asset bundles downloaded through Unity CCD is stored.

    After doing some testing on a WindowsStandAlone64 build, the build created files stored in

    User/AppData/LocalLow/CompanyName/ApplicationName. However, the actual asset bundles downloaded from CCD was stored in User/AppData/LocalLow/Unity/ApplicationName.

    Can this be confirmed, and if this is the case why are the asset bundles downloaded in the Unity subfolder instead of the CompanyName subfolder for asset bundles downloaded for in a Unity Build?

    Also for Mac laptops, what would the asset bundle download locations be?

    We have users whose are using laptops with restricted file permissions, so we want to know ahead of time which folders to open permissions so that our unity builds can run and download asset bundles from Unity CCD properly.
     
    Meshak likes this.
  2. davidla_unity

    davidla_unity

    Unity Technologies

    Joined:
    Nov 17, 2016
    Posts:
    770
    Hey, so the files are stored wherever the current cache for writing is set to. When you use UnityWebRequest to download an AssetBundle (or use Addressables because this is what we do) UWR uses the engine's Caching API. You can actually manage these cache locations yourself through the public Caching API. Check out https://docs.unity3d.com/ScriptReference/Caching.html for some examples.

    I can't say for sure why the default cache is set to the Unity subfolder instead of the Company name subfolder.

    I hope some of that helps!
     
    Elmstrom likes this.
  3. akinwunmi

    akinwunmi

    Joined:
    Nov 7, 2022
    Posts:
    1
    pls i was trying to load my game in the game view but its saying scene not in build setting or asset bundle not loaded
    and i have my scene in the build setting already so how do i go about asset bundle issues