• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by zastrow · Dec 30, 2015 at 12:26 AM · iosorientationsocialgame centerportrait

In App Game Center Leaderboard and Login use Device Orientation and Change Unity Orientation in the Game

Using Unity 5.3 Orientation Setting: LandscapeLeft

iOS build

 using UnityEngine.SocialPlatforms;

My game is set to LandscapeLeft in Unity.

However when I call up

 Social.localUser.Authenticate(ProcessAuthentication);

As I do at void Start() If I am not logged in to Game Center and I am holding the device oriented to Portrait; it Changes the orientation of my game to Portrait and stays that way unless I pause and un pause the game until it crashes or resets.

I'm assuming there is something I need to change in Xcode. This should be considered a bug since it reverses settings inside Unity.

Has anyone encountered this problem and what can I do to fix it?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Cactuss · Jan 27, 2016 at 02:00 AM 0
Share

Having the same issue, but my app is supposed to be oriented to Portrait and opening Game Center while holding in landscape causes the app to switch to landscape. I haven't found a solution yet.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

35 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

No Game Center achievement popup? 2 Answers

Is is possible for Unity 3D smartphone app to support multiple orientations 1 Answer

Game Center login windows popups after hiding an app 0 Answers

Game Center completing achievement not working 2 Answers

Social.localUser will Automatically call GameCenter Login Screen - How do I stop that? 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges