iOS5 crashing approved game

Hi,
I have a Game about to be released developed with Xcode iOS 4.3, already approved by appstore last week (but unreleased as yet).

I just finished the upgrade of iPad to iOS5, upgraded MacBookPro, upgraded Xcode to iOS5.

Game now crashes running a normal unity build onto the iPad from xcode, with a number of
"Thread 1: Program received signal “Exec BAD_ACCESS” "

BUT if I build it as a Unity development build and hook up the profiler…it starts ok and runs on the iPAD.

This is the same project , unchanged, used to submit for successful approval under iOS 4.3

AAAAAAAAAAAAAAAARGGGGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHH! (scuse me, just venting!)

Any ideas on what I should be looking for?
[just got over a long process fixing a drm bug for the Mac desktop release early this morning and now this pita]

ty.

im just guessing here, but im pretty sure there is more RAM being used by the OS, so make sure you are not pushing memory usage.

otherwise, try debugging any reading/writing to files, and make sure you have no null referencing variables.

if all else fails, build and run an empty project and verify that is working just to make sure the error can be fixed on your end…

Hi Andy,
Thanks for the reply.
Plenty of Ram, checked and freed up beforehand.

What I don’t get is why it works fine as a development build, but fails now when I uncheck development build.
That’s not consistant behaviour afaik. What does development build do that normal build is not doing.
App works fine in editor, fine on iPad as development build, crashing as normal build.

clean targets in xcode? build to a new project folder?

its Andy btw :T

Andy (oops, my bad! l8 here)
I’ll try that but that still doesn’t explain the behaviour difference between normal/FAIL and development/SUCCESS builds.

well it does point to the xcode environment as a possible candidate for error.

did you turn on “slow and safe”? check the xcode stack trace?

Yep, my standard settings.