统一:苹果游戏中心iOS7注册得分在排行榜仅30分钟 [英] Unity: Apple Game Center iOS7 registers the scores for only 30 minutes in the leaderboard

查看:202
本文介绍了统一:苹果游戏中心iOS7注册得分在排行榜仅30分钟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的游戏使用Unity 4.5和UnityEngine.SocialPlatforms.GameCenter的。

My game is made using Unity 4.5 and the UnityEngine.SocialPlatforms.GameCenter.

我的游戏在App Store。如果我玩游戏,打我的高分,据悉在游戏中心,我看到自己的排行榜。如果我与其他设备上播放,它注册的比分,以及和我能看到2分和2名球员。一切都看起来很好。

My game is in the app store. If I play the game and beat my high score, it is reported in Game Center and I see myself in the leaderboard. If I play with another device, it registers the score as well and I can see the 2 scores and the 2 players. Everything looks fine.

但是,这是我的问题,如果我重新启动的2个设备30分钟后,比分已经从排行榜消失在游戏中心的应用。 (如果我直接检查iTunesConnect网站上,我的排行榜是空的了)。

BUT, and this is my problem, if I relaunch the app on the 2 devices 30 minutes after, the scores have disappeared from the leaderboard in game center. (And if I check directly on the iTunesConnect website, my leaderboard is empty too).

我有很难解决这个问题考虑到在沙盒模式下它的工作原理。不错,我的高分在这里,现在周

I'm having hard time to solve this problem considering that in Sandbox mode it works pretty well, my high scores being here for weeks now.

谢谢如果你能帮助

PS:我在游戏中心排行榜如下参数:分数格式类型:整数,分数提交类型:最好成绩,排序顺序:前高后低,分数范围:0〜10000
当我报告在Unity C#比分,我的排行榜ID(String)和我的分数(长)是正确的。

PS: My leaderboard in Game Center as the following parameters: score format type: integer, score submission type: best score, sort order: high to low, score range: 0 to 10000. When I report the score in Unity C#, my leaderboard ID (string) and my score (long) are correct.

我使用功能

void ReportScore (long scoreGC, string leaderboardID) {
    Social.ReportScore (scoreGC, leaderboardID, success => {
        Debug.Log(success ? "Reported score to leaderboard successfully ("+scoreGC+")" : "Failed to report score");
    });
}

当我调试,这是一个成功。这样的比分应该已经发送到游戏中心。
当我检查我的设备上的游戏中心,显示了比分。
,而30分钟后,它是不会了。我想这已经只保存到本地缓存,但不能上网。它是用统一的或与苹果游戏中心iOS7社会图书馆的一个问题?

When I debug, it's a success. So the score should have been sent to game center. When I check game center on my device, the score is displayed. But 30 min later, it is not anymore. I guess it has been only saved on the local cache but not online. Is it a problem with the Social library of Unity or with Apple Game Center iOS7?

推荐答案

有个人从苹果发布

事实上,我们也发现一个问题!我们正在研究这个问题的修复程序。一旦解决了得分的排行榜将开始处理。我们没有埃塔尚未反而会及时向大家发布。感谢您的帖子:)

Indeed we did find a problem! We are working on a fix for this issue. Once this is resolved the scores for your leaderboards will start processing. We do not have an ETA yet but will keep you posted. Thanks for your posts :)

在这个线程苹果开发者论坛:
https://devforums.apple.com/message/1028533#1028533

on Apple's developer forums on this thread: https://devforums.apple.com/message/1028533#1028533

这篇关于统一:苹果游戏中心iOS7注册得分在排行榜仅30分钟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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