Crash on start up on iPhone3GS in Xcode only (iPhone4 works.)

Hello,

I get a “EXC_BAD_ACCESS” when I try to launch my game from Xcode on a iPhone 3GS. If I run it on an iPhone 4, no problem. Or iPad. It’s falling over on UnityPlayerLoop().

These weird errors are really bothering me. Running the game without Xcode and it doesn’t crash.

Any ideas?

Thanks.

the 3gs has a slower CPU so your timings with the iphone4 may be that the iphone 4 is running quick enough that when you destroy things it tends to not highlight a null ref bug.

Why not run scripts as slow and safe mode, then you’ll have a far better idea where your problem is.

I’ll try that, thanks.