- Home /
Loading Asset Bundles on iOS device
I am asking this question again, because nobody answered previous one in Help Room, and I still cant find the solution. Hopefully this time, someone could help me.
I have a problem loading asset bundles from local server or Amazon CDN on Ipad and Iphone, it always return me an error :
The AssetBundle 'bundleName' could not be loaded because it is not compatible with this newer version of unity runtime. Rebuild the AssetBundle to fix this error.
I am using Unity 5.6.1p4 , and AssetBundles are loading perfectly in editor, standalone build and Android devices. I am sure asset bundles are built for iOS platform , I am loading bundles using WWW.LoadFromCacheOrDownload() ,and asset bundle version is set higher than previous one.
This problem is bugging me for over a week, and I just cant find any lead,neither anything similar here.
Anyone had this problem before?
Thanks
Answer by wolfu · Sep 13, 2017 at 09:46 AM
I've finally succeded in loading bundles on device. The thing was scripting backend was set on Mono2x , and for iOS arm should be set to IL2CPP.
Answer by ZeFirestarter · Aug 30, 2017 at 09:21 AM
With the risk of sounding like an ass for stating the obvious, have you actually tried and do what they are suggesting?
The AssetBundle 'bundleName' could not be loaded because it is not compatible with this newer version of unity runtime. Rebuild the AssetBundle to fix this error.
With your current version of Unity (5.6.1p4) select iOS as Platform and make the AssetBundles again. Then delete the old version from the server and upload the new AssetBundle.
Answer by wolfu · Aug 30, 2017 at 12:15 PM
@ZeFirestarter Yes, did it too many times, and still gives me the same error. this problem really gives me an headache.
hi my unity version is 5.6.2 i make iOS platform AssetBundle and run in iOS Device and got the same error: "could not be loaded because it is not compatible with this newer version of the Unity runtime. Rebuild the AssetBundle to fix this error. "
are u fix it ??
Your answer
Follow this Question
Related Questions
Unity 5 Asset Bundles - missing specific sprites from downloaded scene? 0 Answers
Why is Unity for iOS causing Memory Leaks w/o WWW class being called? 0 Answers
Finding resources folder on iOs 3 Answers
Loading Scripts from asset bundle in iOS and WebGL. 0 Answers
Unity 5 Resources.LoadAsync on Android slower than iOS? 0 Answers