x


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”.

more ▼

asked Aug 11 '11 at 02:30 AM

TheGeoff gravatar image

TheGeoff
1 4 5 5

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
more ▼

answered Oct 15 '11 at 12:29 AM

sonicviz gravatar image

sonicviz
1

(comments are locked)
10|3000 characters needed characters left
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1998
x1952
x346
x48
x4

asked: Aug 11 '11 at 02:30 AM

Seen: 2140 times

Last Updated: Oct 15 '11 at 12:29 AM