I’m using the Social.localUser.Authenticate() function (Unity - Scripting API: Social.localUser) to log the player into GameCenter at the start of the app. On the start of the app, when I call this function, it works as expected, showing the GameCenter login popup. However, if the user cancels the popup, if I call it again (when the player clicks the Leaderboard button when not logged in), it always fails without even showing the popup.
I found this question on UnityAnswers: [iOS] Social.Authenticate bug on user cancel ? - Questions & Answers - Unity Discussions
It’s 3 years old and has no solution. I’m testing on the iPad 2, with GameCenter Sandbox mode using a test account on iTunes Connect.
Anyone encountered this problem before?