- Home /
Why is GameCenter UI leaving my orientation stuck the wrong way? How to fix it?
I have a button on my main menu screen to go open the GameCenter leaderboards using Social.ShowLeaderboardUI(). It opens in the correct orientation, but when I go back to the game, it is in PortraitUpsideDown no matter what it was before.
The real problem is that even though I have an InvokeRepeating function checking constantly how the device is oriented to change the title screen layout if it is rotated, for some reason after leaving Game Center it will not recognize that the orientation has changed and will stay that way until you turn the device 90º.
What's going on here?
Your answer
![](https://koobas.hobune.stream/wayback/20220613073542im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How many scores loaded by ILeaderboard.LoadScores for IOS 0 Answers
Why is the Unity logo splashcreen only landscape for iPhone? 1 Answer
How do I detect if the player returns from the GameCenter UI? 0 Answers
Does Social.LoadScores report ALL scores on GameCenter? 1 Answer
iPhone rotatin black border re-enabling itself when changing scene. 1 Answer