- Home /
Help with XCode iOS GameCenter EXC_BAD_ACCESS crash bug
I'm running into a crash bug when attempting to play my game on an iPhone. This one has me totally stumped. Any help would be really appreciated! Here is what I know:
Details: iOS 9, XCode 7, Unity 5.2.0f3
The crash does not happen when running the game in Unity.
The crash only happens when I instantiate GameCenter [Social.localUser.Authenticate (ProcessAuthentication);]
When I comment out this line of code the game runs fine.
This is a new version of an already released iOS game.
Seeing the same issue here as well with Unity v5.2.1f1
Seems to be exclusive to IOS as Social.localUser.Authenticate seems to work without the same issues. Not sure if it's related to il2cpp or UnityEngine.Social
Having the same issue, have you made any progress? Still stumped.
Answer by brentstrandy · Sep 30, 2015 at 03:26 AM
This is a bug in 5.2.0f3 and will be updated in the next 5.2 patch.
see here: http://forum.unity3d.com/threads/crash-bug-xcode-ios-gamecenter-exc_bad_access.355945/#post-2311918
This is now fixed in 5.2.2
See release notes here: https://unity3d.com/unity/whats-new/unity-5.2.2
Your answer
Follow this Question
Related Questions
iOS Gamecenter Apple Mach-O Linker errors in xcode build 1 Answer
GameCenter crash only in release build 1 Answer
Gamecenter achievement already reported 1 Answer
xCode > testFlight 3 Answers