My Unity game crashes only on old iOS devices.

When I built my unity game for iOS and installed it via Xcode4, it crashes while a splash image displays only on iPhone3G and iPod touch 2nd generation. It works well on iPhone3GS, iPhone4 and iPad 1st generation.

The error message on the debug console of Xcode4 is following:

-> applicationDidFinishLaunching()
* Assertion at aot-runtime.c:2729, condition `plt_entry' not met

How can I fix it to make the game playable on old devices like iPhone3G and iPod touch 2nd?

Those are pretty old devices, I wouldn't be surprised if they simply don't have the hardware necessary to run the sort of stuff you want. For example, pre-3GS devices only have 128mb of memory. Also, what version of iOS are they running, because that might affect it as well.

We have a similar problem, did you figured out what was the problem?

We have the same problem, had you figured out what was the problem?

A little extra information... Our program crashed on iPhone 4, too (with iOS 4.3.1). And the call stack is as the following:

alt text alt text

Did anyone ever sort this out?

We are having the same issue, only adHoc builds work just fine on the older hardware (well, they are a bit slow, but they work) however, once the app gets through apple and out into the wild, then we are getting a similar crashing problem.

The only difference is the error in the stack trace is:

  • Assertion at aot-runtime.c:1734, condition `!is_wrapper’ not met

I am wondering if anyone has any more info on this?