- Home /
iOS crash only if "Development Build" turned off
This just started happening with a project which has been published many times. Now if I compile the app with Development Build turned on the app behaves as it normally does. If I turn off Development Build I get a crash when the loader scene is switching to the next scene.
The crash takes place inside DisplayManager.mm in the present function on this line:
[surface.context presentRenderbuffer:GL_RENDERBUFFER];
The error is EXC_BAD_ACCESS (code=1,address=0x1)
I can toggle Development Build on and off and repeat the problem. I don't have a clue where to begin looking for the problem. I am using LoadLevelAsync() but I swapped to LoadLevel() just in case the code was somehow getting to the point of displaying something that wasn't initialized.
I've been working with this code for about a year now, and have never encountered this problem before, and the scene was compiling just fine 2 days ago, and hasn't been updated since then. I even tried going back to a previous version of the scene. I'm not seeing how this is happening or what kind of impact Development Build could be having here.
Answer by akeplinger · Feb 19, 2015 at 04:45 PM
Additional info: Discovered that by turning off anti-alising the crash stopped happening. Anti-aliasing had been on when compiling with older versions of Unity. Using 4.6.2 now. Can't say for certain why this is happening.
Your answer
![](https://koobas.hobune.stream/wayback/20220613183751im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
App Store Rejection - Crashes 2 Answers
Unity 4.2 IOS Exception Handling 0 Answers
iOS game freezes on startup 0 Answers
Unity 5.5.0f3 IOS Crash After Screen Sleep 3 Answers
Native Crash - ___ZN19HTTPConnectionCache11enableTimerEv_block_invoke (Unknown File) 0 Answers