Well, Apple rejected my app this time due to a supposed crash when switching scenes on a 3G or 3GS device. They rejected it last time becuase I had private APIs (I updated Unity to fix that.)
Is there anything I should be aware of in the dot release of Unity that fixes the private API issue when running on a 3G or 3GS device?
Also, is there a recommended way to debug what may be happening on those models? For some reason the app works great on my 1st and 2nd gen devices.
Yes, it is solved with 1.5.1 and that is the version that is now causing my crash problem.
I was rejected due to the private API, so I upgraded to 1.5.1. Now I’m being rejected due to a crash on a 3G or 3GS device (both of which I do not own.) I’m borrowing a 3G device to try and debug it on but am not sure what to do when Unity crashes on a particular model?
Do you know how much RAM your app is using? Intermittent crashes are often memory related, although it’s surprising that you could use enough to even crash a 3GS and still have it run on an iTouch 1st gen. It’s not impossible though - the iPhones have a lot more of their system resources hogged by all that phone junk they do, and run substantially slower and have less of their RAM free for apps as a result.
Hm… there must be something else at work. I’d recommend running your app through activity monitor in xcode to see how much memory it’s using in total, since there are a lot more factors than just the vram stat you’d see in the editor, but it sounds like that’s probably not the issue anyway.
Did Apple provide any information on the crash, other than the devices it was found on? Null references or out-of-range indices on arrays are common ways to crash the device with your scripts, and I wonder if its possible that Apple just happened to find such a thing on the devices they mentioned, but the bug isn’t actually unique to the hardware they specified. Their QA isn’t exactly stellar.
Yeah, they didn’t tell me much other than it is crashing on a scene transition (when they press a menu option.) I’ll post more on what I find out when I have a 3G to test with later today.
Well, I borrowed a friends 3G iPhone and it doesn’t crash…now I’m really confused. Apple rejected it saying it crashes when you select a difficulty setting but I am seeing no such crash.
I’m going to re-build and re-submit and see what happens. /crosses fingers