• 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 Serve · Dec 16, 2013 at 08:50 AM · iosprime31game centerturn based

Game Center Turn based issue with the handleTurnEventForMatch in sandbox mode

I am building a turn based game using the Prime31 plugins for GameCenter and GameCenter turn based. I have deployed the game to two devices (iPad en Iphone 5S both using latest version of IOS7)

After starting a new game and ending the turn by calling EndTurnWithNextParticipant(playerId,matchData) the other player does not always receive a handleTurnEventForMatch which leads to a situation where both players are waiting for their turn. If I check the game status through Game Center app for the current player it shows 'It is THEIR turn'. When I refresh the Game Center app by closing it and starting it again it shows 'It is YOUR turn'.

My first thought is that I have not correctly wired up things in my game but when I tried the same thing by using a clean project and the example scene from Prime31 which is provided as part of the package, the same thing is happening. Sometimes ending a turn works and the other player receives a notification and sometimes (most cases) it doesn't. Even with this example scene.

Is this something related to Game Center sandbox servers?

Any help much appreciated!

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Stefang · Jan 14, 2014 at 12:59 PM

Hi Servé, I having the same problem. This is the answer I got from App Store Developer Support:

I understand version 1.0 of your app Teazle Words, Apple ID 721628467, seems to be show in initiating turns sometimes and you need to know why and how to resolve the issue. If it usually works as you mentioned, then it is unlikely there is actually anything wrong with your app, or the servers. These kinds of intermittent delays can be due to data speed or quality of connection. I suggest you reboot any devices experiencing delays to refresh their data connections when you are testing.

Having you coming up with some more about this delays?

Comment
Add comment · 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

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

17 People are following this question.

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

Related Questions

iOS Game Center & Android Game Center "Play Games" 1 Answer

Game Center Authentication callback returns false 2 Answers

With Unity iOS Prime31 StoreKit plugin (3/14/14), sandbox, restoreCompletedTransactions() loops over stuck transactions n^2 times 2 Answers

Saving if ID not in list (Prime31 Game Center) 0 Answers

ILeaderboard on iOS is not working? 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