Is the mall multiplayer friends broken in iOS 9?

I created a game that reuses real-time multiplayer mode. It was originally aimed at iOS 8 devices. Recently, after switching to iOS 9, Game Center caused a lot of problems. The main problem that I canโ€™t solve is to invite a friend to multiplayer (for testing).

From IOS 8 to IOS 8. Autoresponder and friend invitations work But from IOS 9 to IOS 9. Autoresponders and friend invitations no longer work.

If any of you managed to get Game Center invitations to work on iOS 9. Please direct me on the right path.

What do I know now:

  • This is a game center issue because I tested the problem in another application from scratch. This caused the same problem.
  • I use accounts registered as internal testers in iTunes connect Testflight
  • IOS 9 merges sandbox with production
  • When I send invitations, it is not accepted on another device (iOS 9 only).
  • Notification is enabled for both devices, and push notifications are enabled for the application
  • Rebooting devices did not solve anything. I tested both iOS 9.0.0 and 9.0.1
  • I know that 9.0.2 has problems loading the game center, which I would like to avoid at the moment

UPDATE - 9/10/15 After they disabled the sandbox for iOS 8. The auto-match started working between iOS8 and iOS9. But a friend still seems to be a problem. A friend also stopped working for me on iOS 8.

The Game Center callback seemed to run in a different thread and caused an 80% chance of a connection failure. The solution was to run the code in the main thread, and it was allowed. But the threading problem did not fix the friend's bit.

After trying to start the match with a friendโ€™s request, he gives an error as follows:

Error Domain=GKErrorDomain Code=3 "The requested operation could not be completed due to an error communicating with the server." UserInfo={ GKServerStatusCode=5096, NSLocalizedDescription=The requested operation could not be completed due to an error communicating with the server., NSUnderlyingError=0x136e23230 { Error Domain=GKServerErrorDomain Code=5096 "Peer device (type: iPad) does not support a game compatible with: unknown:com.xxx.xxx:x:xx" UserInfo={ GKServerStatusCode=5096, NSLocalizedFailureReason=Peer device (type: iPad) does not support a game compatible with: unknown:com.xxx.xxx:1:xx } } } 
+5
source share
1 answer

From my recent experience, yes, it is currently broken or at least has serious problems. Creating new matches on Game Center has only been around for a while. I also get code error = 3. However, for me this has been working for a while. It seems to me that new matches are successfully created and delivered when 1) I do not get an error after sending the first turn of the match and 2) I can load matchData and this is the correct data.

0
source

Source: https://habr.com/ru/post/1232929/


All Articles