- Home /
Screen Autorotates on Unity Remote
I'm trying to make a mobile app for an Android device, and I need to lock the screen's rotation. I used
Screen.orientation = ScreenOrientation.LandscapeLeft;
in the Start() method, but it's rotating anyway. I'm using Unity Remote, so it's possible that that's part of the problem.
Edit: It works after building, but it would be convenient if I could use Unity Remote for this. It's difficult to test when down is always in the same direction.
Unity Remote is not affected by game code. The only solution is to lock the orientation on the device itself.
Your answer
![](https://koobas.hobune.stream/wayback/20220611231349im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Standard Assets' DualJoysticks not working with Unity Remote 1 Answer
overlapping UV on mobile 1 Answer
APK works fine when downloaded from play store,but doesn't open locally 1 Answer
Touch Input only working on Unity Remote 0 Answers
Game won't run on iPhone even with the device selected 0 Answers