iPhone can't load Unity apps, times out despite all tricks

So I can get my 3.0f2 app to load on an iPhone in the debugger, but using normal startup, it takes too long, and the OS shuts the app down.

I tried the clever approach of loading an empty scene to load a more resource-intensive one.

I tried all of the stripping modes (iPhone pro).

A lot of people I know have the phone I tested. I’m using a friends phone, and can’t discern the hardware version. They make it easy to tell the iOS (3.2.1). Anyway knowing the hardware isn’t the issue here!

The non-unity competition has a leg up here. All sorts of other recent release apps seem to load and run fine.

Anyway, logging my disappointment here. I paid decent money for iPhone pro (though comparatively still a bargain I guess). It would seem that Unity could find a way to keep iOS happy while it loads.

Have I tried all the tricks that would get me past this load time hurdle?

Grrr. UT, can this be solved? Will the final 3.0 release load much quicker?

I fear you still have a fair way to learn if you say iPhone and OS version 3.2.1 in the same context as 3.2.1 is ipad exclusive

and iphone projects load easily, if it doesn’t, check it in xcode and see what kills it.

potentially it works all fine but you have something in that prevents it from loading or something else.

The model# is MB702LL. 8GB. Seems to map to a 3G?

Ok 3.1.2 or something like that, was a bit lysdexic there. I do know that iPad has a version series all their own. Had to surrender it. People need their phones. My project targets 3.0. I guess i could try targeting 3.1.2. Well I’ll try some things, I should have hope if others are getting 3G phones to load Unity.

When I had a similar problem, it emerged that one of my big music files had somehow reverted back to having “decompress on load” checked instead of unchecked. Went back and tested the 2.6 project and it was still unchecked there. So I guess something went wrong when reimporting the sound. Might be worth checking?

that hope is part realistic cause on iOS4, half of all games stop working on iPhone 3G out of my experience with my “throw against the wall brick”. Unity just suffers a bit more from its base memory footprint which requires you to optimize the assets more

my benefit as dev is that I have itouch 3GS and iTouch 4, so it won’t touch me for gaming and for testing its good to have the worst possible device at hand

I guess I should suspect the base footprint. I cranked out an app consisting of just an empty scene and it loads fairly quickly. However loading that scene and then the next one seems to be not enough.

I tested Zombieville Lite and it seemed to take a bit of time, but just under the wire I guess. I wonder about Infinity Project, which I have on my own iPod. I wonder how it loads on old 3Gs.

I think I’m onto something. It may take a few levels each loading some of the assets. The levels seem to require at least a loop to run. I also put the LoadLevel call in an Update call, counting a few updates. Putting the LoadLevel call in a Start function probably doesn’t feed the iOS as needed. Well I’m on a better path now, thanks :slight_smile: .

Hi,
this trick is described in Unity manual page for iPhone Troubleshooting. You need to yield 1 or 2 frames before loading second big scene. Rendering frame or two lets Springboard know that your app started successfully.

Wouldn’t it be possible for Unity to somehow let springboard know everything is loaded before it starts loading an actual scene?