- Home /
 
 
               Question by 
               jlguariglia · Mar 03, 2018 at 08:21 PM · 
                iosassetbundle  
              
 
              Assetbundles not loading on ios device. Any help would be appreciated.
My app loads the assetbundles perfectly on the editor, webGL and android, but it's not loading on iOS. Any idea on how can I make this work? Thanks
 IEnumerator AssetLoad(string bundURL, string bundleName)
     {
         using (var wwwB = WWW.LoadFromCacheOrDownload(bundURL, 1))
         {
             yield return wwwB;
             UnityWebRequest request = UnityWebRequest.GetAssetBundle(bundURL);
             if (!string.IsNullOrEmpty(wwwB.error))
             {
                 Debug.Log(wwwB.error);
                 yield return null;
             }
             isDownload = true;
             StartCoroutine(progress(request));
             isDownload = false;
             Debug.Log("Bundle downloaded");
             var myLoadedAssetBundle = wwwB.assetBundle;
             var asset = myLoadedAssetBundle.mainAsset;
             SceneManager.LoadScene(bundleName);
         }        
 
              
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Asset Bundles with In-App Payment in Unity Mobile 1 Answer
Assetbundle fail to load at IOS local 1 Answer
Using AssetBundles as IAP Crashing 0 Answers
Does Apple allow you to download assetbundles with scriptableobjects, from an external server? 0 Answers
Loading Scripts from asset bundle in iOS and WebGL. 0 Answers