Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by tah · Jan 11, 2015 at 06:06 PM · google play gamesauthentication

Google Play Services for iOS hangs app when exiting

I'm using the Google Play Services plugin from: https://github.com/playgameservices/play-games-plugin-for-unity

Android version works just fine, but my iOS version has a problem of not completely exiting the app if I do the Google Play Authenticate; if I don't Authenticate, then it will terminate correctly.

There is some assembly code displayed in the Xcode editor about __psynch_cvwait under callback_queue after I try exiting my app that did an Authenticate.

Everything else about it works fine, Leader Board and Achievements are okay, it just freaks out when I exit my app using Application.Quit()

Xcode 6.1.1 Unity 4.5.5f1 imported GooglePlayGamesPlugin-0.9.11.unitypackage

has anyone see anything like this ?

Thanks for any help

[EDIT]

I've read that one should not use Application.Quit() in iOS Apps. I tried to use the Quit in the PlugInDev MainGUI ( added an Exit button ) and got the same results. The Quit was working fine until I added the Google Play stuff, but know I guess I'll check if it is type IPHONE and not display the Exit button in my app ( which I have in both iOS and Android )

Comment
Add comment · Show 1
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 HakanOzcan · Jan 19, 2015 at 10:28 PM 0
Share

Exactly the same problem goes with me on android as described in that topic. Still couldnt get an answer. http://answers.unity3d.com/questions/880350/unity461gps-plugin-freeze-problem-on-exit-on-andro.html

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by khos85 · Jan 14, 2015 at 10:57 PM

Hi, have you tried looking at some other sample apps to see how those are coded, then you could compare to yours and modify if/as needed. Maybe there is some api call you need to use.

Maybe this link could help: https://github.com/playgameservices/ios-basic-samples

Comment
Add comment · Show 1 · 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 tah · Jan 19, 2015 at 09:24 PM 0
Share

Thanks khos85

I never saw those samples.

basically my error was using Application.Quit inside of an iOS app it didn't work right after adding in the Google Play stuff.

Thanks again for the link

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Google Play Games Services - authentication fails 4 Answers

Google Services work from APK but not from store 0 Answers

Google Play Services authentication problem. Failing to sign in ! 6 Answers

Minimal project can't able to authenticate 1 Answer

Google Playgames sigin UI not appearing and not throwing any Error 1 Answer


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