Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
2 captures
11 Jun 22 - 14 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 renton1990 · Jul 25, 2015 at 03:52 PM · gamecenterhome button

Game center doesn't appear.

I used a button to show the game center in my iOS project.When pressing the button, it will call Social.ShowAchievementsUI() to display the game center. At first, it works well. But if I press home button and then go back to my app and press the button, game center doesn't appear. Could anyone tell me why this happened and how to solve this problem? Thanks.

Comment
Add comment · Show 3
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 kyuskoj · Jul 28, 2015 at 07:15 PM 0
Share

I have this issue too. And i found this log meesage on XCode

Warning: Attempt to present on which is already presenting

Help!!

avatar image meat5000 ♦ · Jul 28, 2015 at 08:13 PM 0
Share

Cryptic. Is that a translation or something?

avatar image meat5000 ♦ · Jul 29, 2015 at 02:07 AM 0
Share

Searching google tells me something about Some UI View Table which is loaded so an attempt to load another one is not going to work and you have to use the old one.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by i16yue · Aug 08, 2015 at 12:32 PM

I found a way to fix the bug. In the xcode project - UnityAppController

In: applicationDidBecomeActive delete if(_snapshotview) {.....}

In: applicationWillResignActive delete last few lines _snapshotView = [self createsnapshotView]; if (_snapshotView) {....}

I don't know why the unity needs to create the snap view itself. With these codes, the view hierachy changed, but the gamecenter view controller is still cached in the rootViewController.presentedViewController. While you try to present again it won't work as loged in xcode.

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 renton1990 · Aug 11, 2015 at 01:55 PM 0
Share

Thanks very mush,i16yue. After using your method, the Game Center doesn't disappear any more! Hope Unity will fix this issue in next version.

avatar image Ryan Barker · Aug 31, 2015 at 12:29 AM 0
Share

I was having the same problem with the sharing interface. Thanks for the tip!

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can OpenFeint/GameCenter permanently place a player/account to a team ? 1 Answer

Game Center without Unity Pro 1 Answer

How to show all leaderboards in IOS? 2 Answers

How to get Sandbox mode running on Apple TV? 0 Answers

When backing out of Game on Android(h/w home button), and returns to play.. touch controls no longer work?(solved) 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