- Home /
XCode Debugger crash, but game runs on phone
I've been having this issue when I build and run my Unity project in XCode. The application installs but then the debugger comes to a screeching halt with a "EXC_BAD_ACCESS" error. But the application runs fine when I launch it on the phone. It's been irritating but now really need to actually use the debugger. Anybody have any idea? Unity 3.4 (it did this in 3.3). Happens with Debug and Release Mode.
There are some odd messages about serialization layouts and the UNITY_EDITOR #ifdef.
GDB Output:
A script behaviour has a different serialization layout when loading. (Read 64 bytes but expected 68 bytes) Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: /Applications/buildAgent/work/842f9557127e852/Runtime/Serialize/SerializedFile.cpp Line: 812)
Program received signal: “EXC_BAD_ACCESS”.
Answer by sonicviz · Oct 15, 2011 at 12:29 AM
I have similar issues currently trying to fix. See: http://forum.unity3d.com/threads/107248-iOS5-GM-Build-problems/page2 and http://forum.anbsoft.com/viewtopic.php?f=10&t=2591&p=11989#p11989 for more info.
Your answer
Follow this Question
Related Questions
XCode 4, deploying App to new device --different Apple ID. 0 Answers
Compiling in Xcode? 0 Answers
From unity 3d to Xcode 0 Answers
Unity 2019 iOS build problem 0 Answers
What does Mprotect remapping failed mean and how do I fix it? 1 Answer