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. Dismiss Notice

Bug [iOS 16] Screen Orientation fixed to Landscape Left but sometimes it rotate autommaticaly

Discussion in 'iOS and tvOS' started by ArnauKokoro, May 22, 2023.

  1. ArnauKokoro

    ArnauKokoro

    Joined:
    Apr 27, 2021
    Posts:
    43
    Hi,

    Using iPhone or iPad with our Unity app we have seen that sometimes these devices rotate automatically the screen. We have fixed orientation Landscape Left on player settings and we change the orientation programmatically.

    This can be happenning after upgrading to iOS 16.

    Is there a solution for that?

    Many thanks!
     
  2. CandyLuna

    CandyLuna

    Joined:
    Nov 11, 2022
    Posts:
    3
    same issue
    Unity : 2021.3.25f1
    System : iOS 16+
     
  3. ArnauKokoro

    ArnauKokoro

    Joined:
    Apr 27, 2021
    Posts:
    43
  4. CandyLuna

    CandyLuna

    Joined:
    Nov 11, 2022
    Posts:
    3
  5. ArnauKokoro

    ArnauKokoro

    Joined:
    Apr 27, 2021
    Posts:
    43
    Our app also needs to switch (portrait => landscape, landscape => portrait ) but we do it programmaticaly. Our problem was that even it is DISABLE to rotate auto (fixed landscape left), it was rotating auto. So, with this workaround we are forcing to rotate on start and if needed on application focus.