x


Why does the iPad simulator build require Assetbundles built in Unity iPhone 1.6.1a1

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??

more ▼

asked Jun 18 '10 at 03:40 PM

Murcho gravatar image

Murcho
2.7k 12 23 53

Unity iPhone doesn't support the simulator, build to device to test it

Jun 19 '10 at 01:37 PM spinaljack

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

Jun 19 '10 at 02:03 PM Murcho
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1951
x383
x360
x30

asked: Jun 18 '10 at 03:40 PM

Seen: 2255 times

Last Updated: Jun 18 '10 at 03:40 PM