IOS 9中的Game Center Multiplayer Friends是否已损坏? [英] Is Game Center Multiplayer Friends broken in IOS 9?

查看:105
本文介绍了IOS 9中的Game Center Multiplayer Friends是否已损坏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一款以编程方式使用实时多人游戏的游戏.它最初是针对IOS 8设备的.最近,在迁移到IOS 9之后,Game Center引起了很多问题.我无法解决的主要问题是邀请多人游戏中的朋友(进行测试).

I created a game that uses real-time multiplayer programmatically. It was originally targeted to towards IOS 8 devices. Recently after migration to IOS 9, Game Center has caused a lot of problems. The main issue I cannot resolve is Inviting a friend in multiplayer (for testing).

从IOS 8到IOS8.自动匹配和朋友邀请均有效 但是从IOS 9到IOS 9,自动匹配和朋友邀请都不再起作用.

From IOS 8 to IOS 8. Auto match works and Friend invitations work But from IOS 9 to IOS 9. Auto match works and Friend invitations do not work anymore.

如果任何人都设法在iOS 9上使Game Center邀请生效,请引导我走正确的路.

If any of you have managed to make Game Center invitations work on IOS 9. Please guide me to the right path.

我目前所知道的:

  • 这是一个游戏中心问题,因为我从头开始在其他应用程序上测试了该问题.造成了完全相同的问题
  • 我正在使用在iTunes Connect Testflight上注册为内部测试人员的帐户
  • IOS 9已将沙箱与生产合并
  • 当我发送邀请时,其他设备(仅适用于iOS 9)不会收到邀请
  • 在两个设备上都打开了通知,并为该应用程序启用了推送通知
  • 重新启动设备无法解决任何问题.我已经测试了IOS 9.0.0和9.0.1
  • 我知道9.0.2存在暂时要避免的游戏中心加载问题

更新-2015年9月10日 在他们关闭IOS 8的沙箱后,IOS8和IOS9之间的自动匹配开始起作用.但是朋友似乎仍然是一个问题.朋友也停止了在iOS 8上为我工作.

UPDATE - 9/10/15 After they turned off sandbox for IOS 8. Auto-match has started working between IOS8 and IOS9. But the friend still seems to be an issue. The friend has also stopped working for me on IOS 8.

Game Center回调似乎在不同的线程上运行,并导致80%的连接崩溃几率.解决方案是在主线程上运行代码,此问题已解决.但是线程问题并没有解决朋友的问题.

Game Center callback seemed to run on a different thread and caused a 80% chance of a crash on connect. The solution was to run the code on the main thread and it was resolved. But the threading issue didn't fix the friend bit.

尝试与好友请求开始匹配后,会引发如下错误:

After trying to start match with a friend request it throws 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:x.x" 
        UserInfo={
            GKServerStatusCode=5096, 
            NSLocalizedFailureReason=Peer device (type: iPad) does not support a game compatible with:
        unknown:com.xxx.xxx:1:x.x
        }
    }
}

推荐答案

从我最近的经验来看,是的,它目前已损坏或至少存在严重问题.在Game Center上创建新比赛仅在某些时间有效.我也收到了code = 3错误.但是,它确实对我有用.对我来说,出现以下情况成功创建并交付了新的比赛:1)发送比赛的第一回合后我没有出现任何错误; 2)我能够加载matchData且它是正确的数据.

From my recent experience, yes it is currently broken or at least has serious problems. Creating new matches over Game Center only works some of the time. I also get the code=3 error. However, it does work some of the time for me. It appears (for me) that new matches are successfully created and delivered when 1) I get no error after sending the first turn of the match and 2) I am able to load matchData and it is the correct data.

这篇关于IOS 9中的Game Center Multiplayer Friends是否已损坏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆