Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by brentstrandy · Sep 20, 2015 at 07:18 PM · iosxcodegamecenter

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.

Screenshot of error

Frameworks

screen-shot-2015-09-18-at-13252-pm.png (468.4 kB)
screen-shot-2015-09-18-at-23352-pm.png (470.9 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bieere · Sep 24, 2015 at 08:39 PM 0
Share

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

avatar image MackNugget · Sep 25, 2015 at 08:05 PM 0
Share

Having the same issue, have you made any progress? Still stumped.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

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

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image MackNugget · Sep 30, 2015 at 02:03 PM 0
Share

Awesome thanks!

avatar image zzzzzz789 MackNugget · Oct 24, 2015 at 11:06 PM 0
Share

This is now fixed in 5.2.2

See release notes here: https://unity3d.com/unity/whats-new/unity-5.2.2

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

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

iOS9: App will load perfectly when launched from XCode, fails to load resources (eg textures) when launched from Springboard 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges