Question by
unity_bz4Y8hzorkKnDQ · Jul 24, 2018 at 02:29 PM ·
assetbundleassetbundles
Error loading assetbundles on ios in background,Error loading assetbundles on ios in background
I have a problem when download asset bundles on ios when the application working in background, in the same time downloading asset bundles on android is ok.
i use it to download:
protected override IEnumerator Load()
{
Loader = WWW.LoadFromCacheOrDownload(AssetBundlesController.Instance.GetBundleUrl() + AssetBundleName,
ModelContainer.Instance.VersionControl.GetServerBundlesTimeUpdate(AssetBundleName));
yield return Loader;
if (string.IsNullOrEmpty(Loader.error))
{
//some logic
}
else
{
Debug.LogError(Loader.error)
}
}
}
So on ios i get "Unknow error" but downloading progress is 100%. How can i fix it?
Comment
Your answer
Follow this Question
Related Questions
use AssetBundle.LoadAssetAsync in editor is about 10 times slower on windows than on ios devices 1 Answer
Problem with Asset Bundles in Unity 2020.3.30f1 1 Answer
Why does the AssetBundle needs the assets to be present in the folder? 0 Answers
Addressables build failing due to Lua scripts and then for an unknown reason 0 Answers