I'm putting together Assetbundles to use on the iPad and the iPhone and they are failing load on the iPad build running in the simulator. This is the error message reported in the XCode Console :
Failed to load asset bundle. Asset
bundle version mismatch. This Unity
iPhone runtime supports only asset
bundles created with "1.6.1a1" version
of editor. Make sure you are using
iphone version of asset bundle (file
extension .iphone). (Filename:
/Users/mantasp/work/unity/iphone-1.0.1/iphone-1.0.1/Projects/../Runtime/Export/Generated/Utils.cpp
Line: 217)
The assetbundles in question were built with the iPhone standard assets script ExportResource.js in Unity iPhone 1.7.0f on Mac OSX 10.6.3, and the error is appear in iPhone Simulator Version 3.2 (193.8). I've tested these on the iPhone device, and they work perfectly, however when attempting to load them on the iPad Simulator i get this message. This seems a bit ridiculous to me seeing as the iPad build target wasn't available until the 1.7 release, so I'm going to assume this is a bug and lodge a bug report with Unity, but on the off chance that someone else has had this error before I thought I'd post here. As I don't have a device to test on right now I can't confirm if this is just a bug with the simulator or if it's a bug on iPad Devices as well.
So has anyone got assetbundles working on the iPad device with Unity 1.7, or has anyone come across this problem before??
asked
Jun 18 '10 at 03:40 PM
Murcho
2.7k
●
12
●
23
●
53
Unity iPhone doesn't support the simulator, build to device to test it
Unity iPhone supports building to the simulator for iPad builds only. Everything else has run perfectly on the simulator. See release notes for Unity iPhone 1.7.0 here http://unity3d.com/unity/whats-new/iphone-1.7