Everything on my game runs fine in the editor and with unity remote, but when I try to compile my game to xcode to test it on either my iphone or ipad my first level won’t load and I get a SIGBUS error. Here’s what I got from xcode:
→ applicationDidFinishLaunching()
AudioStreamBasicDescription: 2 ch, 44100 Hz, ‘lpcm’ (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved
Could not produce class with ID 154 (Filename: /Users/build/builds/unity-iphone/iphone/Projects/…/Runtime/Serialize/SerializedFile.cpp Line: 685)
Program received signal: “SIGBUS”.
(gdb) continue
Program received signal: “SIGBUS”.
(gdb) continue
Stacktrace:
Debugger stopped.
Program exited with status value:255.
From what I’ve read, SIGBUS errors usually occur when there’s a null reference, but I’ve checked all my scripts and cannot find anything. I’ve also tried deleting the entire xcode build and redoing it several times, but nothing seems to work. My intro screens, directions, and even my second level will load, but the first level just doesn’t seem to be working. So can someone tell me what I can do to fix this or where I can find my error. I’m totally new at this and am not familiar with xcode at all.