Program received signal: "EXC_BAD_ACCESS"

I get this error occasionally. However, when I do a backtrace, nothing useful comes out; it just says its in the start() function.

I made sure I’m running a debug version, and that my linker flags are “-Wl,-S,-x”.

I got this one time when I had a null reference exception. But back then, in Unity iPhone 1.7, null reference exceptions would be reported as a SIGBUS signal, and it would give a proper backtrace back to my scripts.

If I do a continue: it would say Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000, which leads me to believe it really is a null reference exception.

Anyone else experience this?

Hey,
If you want to see real stack trace you should remove following linker flags: “-Wl,-S,-x”.