Screen orientation problem in Unity 3.4

Hi,
I have just upgraded my project in the middle of development from 3.3 to 3.4.0f5.

I had been using a script which would detect changes in the Input.orientation and set the screen.orientation for my game which supports the two landscape and 2 portrait orientations.

The problem is that the screen.orientation does not get set correctly in 3.4.
Even when I set it landscape or portrait after detecting a change in the Input, the screen orientation remains the same.

Its damn irritating that this should happen.

Will really grateful to anyone who can help out.
Anur

autorotation can be handled by Unity. Check in the player settings/resolution and presentation/resolution and then checkbox as needed, deactivate stuff from your script as needed.

i will be happy to see the repro - as we had the script like this to do the testing

well, yes 8)

actually i had the same problem when switching 3.3 → 3.4, resolved it by bringing script and Unity in symbiotic harmony :wink: