Search Unity

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:
    763
    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