function Download()
{
var www = WWW.LoadFromCacheOrDownload ("http://myserver.com/myassetBundle.unity3d", 5);
yield www;
if (www.error != null)
{
Debug.Log (www.error);
return;
}
var myLoadedAssetBundle = www.assetBundle;
var asset = myLoadedAssetBundle.mainAsset;
}
After calling this code a second time I get the error :
“Cannot load cached AssetBundle. A file of the same name is already loaded from another AssetBundle.”