I recently upgraded my project, and now it keeps crashing at startup on iPhone.
Got plugins installed: Prime31 GameCenter, Social Network, Ecetera.
No compile error. Any idea?
Seeing something similar, Prime31 GameCenter is in there as well, plus a bit of custom code I'm looking over now. No compile error and a crash on startup.
Answer by Meltdown
Feb 22, 2012 at 12:33 PM
I've had numerous issues with 3.5. It's probably a bug as well.
One of my bug reports was confirmed and replicated by them.
Log a ticket with Unity support.
Solved. Unity got a bug somewhere at the .unitypackage because when I updated the plugins still crashed. But after I deleted and reimported the Editor and Plugins folder with the fresh files, it started working.
Answer by antlaw
Mar 03, 2012 at 11:08 AM
I encounter the same problem as well. My original source in Unity 3.4.2 run smoothly, but it crashes when I upgrade it to Unity 3.5.0 f1. When the program runs on my iPhone 4 (ios5.0), it crashes before the first scene comes out. I did try the above method (remove the Editor and Plugins folder and re-import the plugins to it), but that does not solve the problem.
The following is the console dump of my iPhone. Can anybody or professional from Unity help? I guess it is a quite common problem to iphone developers.
Mar 3 17:31:19 unknown galaxypirateadventure : -> registered mono modules 0xb61f98 Mar 3 17:31:19 unknown galaxypirateadventure : -[AppController applicationDidFinishLaunching:]: unrecognized selector sent to instance 0x1628240 Mar 3 17:31:19 unknown galaxypirateadventure : Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AppController applicationDidFinishLaunching:]: unrecognized selector sent to instance 0x1628240' First throw call stack: (0x30d578bf 0x37efc1e5 0x30d5aacb 0x30d59ab3 0x30cb4680 0x5c2e24 0x32d297eb 0x32d233bd 0x32cf1921 0x32cf13bf 0x32cf0d2d 0x338dce13 0x30d2b553 0x30d2b4f5 0x30d2a343 0x30cad4dd 0x30cad3a5 0x32d22457 0x32d1f743 0x6658 0x30a8) Mar 3 17:31:19 unknown UIKitApplication:com.sunfishstudio.galaxypirateadventure[0x7984] : terminate called throwing an exception Mar 3 17:31:19 unknown kernel : launchd Builtin profile: container (sandbox) Mar 3 17:31:19 unknown kernel : launchd Container: /private/var/mobile/Applications/82FFFEC8-E895-45E5-AA48-02F745469AAD  (sandbox) Mar 3 17:31:20 unknown ReportCrash : Formulating crash report for process galaxypirateadventure Mar 3 17:31:20 unknown com.apple.launchd : (UIKitApplication:com.sunfishstudio.galaxypirateadventure[0x7984]) Job appears to have crashed: Abort trap: 6 Mar 3 17:31:20 unknown SpringBoard : Application 'Galaxy Pirate Adventure' exited abnormally with signal 6: Abort trap: 6 Mar 3 17:31:20 unknown ReportCrash : Saved crashreport to /var/mobile/Library/Logs/CrashReporter/galaxypirateadventure_2012-03-03-173119_Anthony-LAWs-iPhone.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
I am having the same problem now did u get any solution for this?!
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
8 People are following this question.
Problem when building to development iPhone
How does unity manages exceptions in iOs
Unity IOS(IPad2) auto exit app after loaded too many images
Line Renderer causes crash on iPad on Startup