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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Viewport Off Center in iOS

Discussion in 'iOS and tvOS' started by chabala, Jun 29, 2015.

  1. chabala

    chabala

    Joined:
    Apr 30, 2012
    Posts:
    19
    Hey Guys,

    I am trying to build to iPad and am having some strange issues. In the image below the gray is where the unity view is and it is off center to the right and down. All my animation seems to work fine but it is just messed up.



    Has anyone seen this? Can you tell me what I am doing wrong?

    Update:
    If I setup AutoRotate in the player settings with Portrait and Portrait Upside Down, then force it into Landscape with a script. It looks fine. But if I put Landscape in to the Player Settings and then do the same thing, it comes out portrait but squished to fit... Very strange.

    Made a new Thread for this new error:
    http://forum.unity3d.com/threads/landscape-turns-into-squished-portrait.337466/

    Cheers,
    Chabala
     
    Last edited: Jul 1, 2015
  2. chabala

    chabala

    Joined:
    Apr 30, 2012
    Posts:
    19
    Issue in the new thread was resolved. New xCode didn't mix well with old Unity.