Hi! We are developing a game, which requires us to implement downloading content from server. We decided to use asset bundles.
What we have: a couple of asset bundles (textures, sounds, models, etc). We are using the function WWW.LoadFromCacheOrDownload for each bundle (i.e. load a bundle from server with “n” version).
When the version (“n”) changes for a bundle (like when a texture pack is updated), a new bundle is loaded into cache, but the old one doesn’t unload.
The functions Caching.CleanNamedCache and Caching.DeleteFromCache are deprecated and don’t work.
Caching.CleanCache doesn’t work for us either because the user would have to reload all of the resources, when we only need him to update the texture pack. assetBundle.Unload() doesn’t unload from cache
So, what we need is to unload (clear) the cache from a particular bundle? Thanks.