Game Center just will not authenticate. When I write the code below, nothing happens.
Social.localUser.Authenticate ((bool success) => {
if (success) {
// show leaderboard UI
Social.ShowLeaderboardUI ();
}
});
If I write Social.ShowLeaderboardUI ();
on its own I get the error: Game Centre Unavailable - Player is not signed in. What am I doing wrong?