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.

Question Recommendations for custom caching per group (not global)

Discussion in 'Addressables' started by kenamis, Oct 31, 2022.

  1. kenamis


    Feb 5, 2015
    I'm trying to have an added cache directory, but I don't want it for the entire application. I want to have only certain addressables, could be per group, pull from a specific cache location. This is so that multiple different applications can request the same assets and use the same cached files, instead of caches per application.

    Does anyone have recommendations on how to do this?

    It looks like I'll have to write a custom AssetBundleProvider that changes the Caching.currentCacheForWriting before a request for a certain group and set it back to the default afterward, or maybe doing this in a WebRequestOverride?