- Home /
Can't see my GameCenter Leaderboards
Hi,
I don't know if the problem is on the iTunes connect side or Unity.
I'm trying to use GameCenter for my iOS game, just for a simple leaderboard. I configured it on iTunes Connect already:
In the prepare-for-submission thing, I also added my leaderboard to the game center thing there..
now... I call
Social.localUser.Authenticate()
and I know it works, because I have a button in my GUI that opens the leaderboards via
Social.ShowLeaderboardUI();
However, this game center screen that opens always shows "no Data available", even though I submitted scores using
Social.ReportScore(scoreLong, "sessionKills", LeaderBoardCallback);
my callback function does:
function LeaderBoardCallback(result:boolean)
{
if(result==true)
{
Debug.Log("score submission successful, according to the API");
}
else
{
Debug.Log("score submission failed");
}
}
and In the Xcode console,. when the game is running on my iPhone, I can see "score submission successful, according to the API", so It seems like I submitted scores. But I can't tell! The leaderboards don't show. Am I missing something?
I have the exact same issue, except that I can see my score (and friends), but no others (even tho I can see them in my iTunes connect page).