Unity: Apple Game Center iOS7 Logs Score In Just 30 Minutes On The Leaderboard

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

My game is in the app store. If I play a game and beat my high score, the Game Center is reported and I see myself on the leaderboard. If I play with another device, it also logs the score and I can see 2 points and 2 players. Everything looks good.

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

I am having a hard time solving this problem, given that it works very well in Sandbox mode, my high marks have been here for several weeks now.

Thanks if you can help.

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

I am using the function

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

      

When I debug it is a success. Thus, the score had to be sent to the game center. When I check Game Center on my device, the score is displayed. But after 30 minutes it is gone. I am assuming it was only stored in the local cache, but not on the internet. Is this a problem with Unity social library or Apple Game Center iOS7?

+3


source to share


1 answer


Someone from Apple posted

Indeed, we have found the problem! We are working to fix this issue. Once this is resolved, points for your leaders will begin to be processed. We don't have an ETA yet, but we'll keep you posted. Thanks for your posts :)



on the Apple Developer Forums on this topic: https://devforums.apple.com/message/1028533#1028533

+1


source







All Articles