Search Issue Tracker

Fixed in 4.5.X

Votes

0

Found in

4.3.1f1

Issue ID

574464

Regression

No

Screen.orientation doesn't work correctly on tablets

Windows Store Apps

-

Screen.autorotateToPortrait = false;
Screen.autorotateToPortraitUpsideDown = false;
Screen.orientation = ScreenOrientation.AutoRotation;

Script above prevents screen rotation to "portait" and "portrait upside down" orientations, but when built on Win Store Apps, application can rotate to all four orientations.

Also, in editor's player settings, under "Resolution and Presentation" tab for Win Store Apps there is no option to choose default orientation or allowed orientations, compared with WP8 or iOS settings.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.