Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Wrong orientation

Discussion in 'Windows' started by cesarpo, Aug 16, 2013.

  1. cesarpo

    cesarpo

    Joined:
    Jun 8, 2013
    Posts:
    97
    Hi, I'm having problems with the default orientation settings in my game, in the player settings for Windows Phone I have the following:

    Default orientation: Auto rotation
    Allowed orientations: Only Landscape right, and Landscape left, checked.

    Still the unity splash screen shows the portrait version (I know is the portrait one, because the same config is working OK in Android and iOS), and the first scene seems to be loaded as portrait, even when the game after some seconds goes finally to landscape. Since I place most of the UI on this first scene, this behavior breaks everything. I want to know if this is a known issue, or if I'm missing some config somewhere before trying to fix it in code, because as I said earlier, this same config works as perfectly in Android and iOS.

    thanks!
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,423
    There is another orientation setting in Visual Studio, MainPage.xaml setting. You should try changing that.
     
  3. cesarpo

    cesarpo

    Joined:
    Jun 8, 2013
    Posts:
    97
    Found the settings, and changed them to Landscape, but didn't work, any other idea?

    The "Developmnt Build" text appears as when the application is Landscape, but the splash screen and the initial load of the application, is in portrait.

    edit:

    Well this seems to be an issue with 2DToolkit, if anyone has the same problem check it here:

    http://unikronsoftware.com/2dtoolkit/forum/index.php?topic=2199
     
    Last edited: Aug 17, 2013