Android AssetBundle LoadFromCacheOrDownload problem

Android LoadFromCacheOrDownload need to download every-time when the game is started, instead of just once.

description:
i am developing a game which run on webplayer and android devices. i had implemented asset bundle so that once the game starts, it will download asset bundle from the server. it’s working fine on webplayer, where player only need to download for the first time, the next time it will load from cache instead of redownload it. but on android device, the game will need to redownload it everytime the game is started, what is the possible reason to causes this?

Hey there,

If you down want the bundle to cache don’t use the caching function. Just a normal WWW.

   WWW assetBundle = new WWW("Url of asset bundle");
        assetBundle.assetBundle;

Regards,

Hey, did you find the answer you were looking for? I have the same problem.

This answer doesn’t really solve the problem, I do want to cache the asset bundle file, the problem is that Android insists on downloading it again.

Problem:
I want my app to be able to work offline, so I install it, let it be online for the first time to download the bundle, but from then on I want it to work offline…but it seems that Android insists on accessing it online instead of using the cached file…I works great when I test it offline on unity, but in my android device it doesn’t work at all…if I have an internet connection everything is ok, but offline it seems to be having an error with the asset bundle file…

Thanks!