Search Unity

Having issues with Screen.rotation not working

Discussion in 'Scripting' started by d34thst4lker, Aug 27, 2015.

  1. d34thst4lker

    d34thst4lker

    Joined:
    Aug 4, 2013
    Posts:
    124
    Recently I noticed my game not rotating anymore on several iOS devices I have tested on. I have the menu set for portrait mode and game set for landscape mode. But in the game the player can rotate to either landscape modes. However recently, the device will not autorotate while in the game. I have not changed any of the code so I'm wondering if any one else is having this issue?

    Thanks!

    Edit:

    This was an iOS related issue that had to do with a recent plugin I added that had to be updated
     
    Last edited: Aug 27, 2015
  2. JamesLeeNZ

    JamesLeeNZ

    Joined:
    Nov 15, 2011
    Posts:
    5,616
    Screen rotation is a project (build) setting. Check its all configured as you expect.