Hi, it was all working fine until iOS8.1 release few days back. In Xcode and Unity, I have specified the orientation as landscape but when I run the game in iPad with iOS8.1, the game is rotated 90 degrees. I can’t find a solution to this anywhere.
This question is also about the same issue but he couldn’t find a solution yet. Did anyone come across similar issue?? Please help me.
Solved the issue in Unity 4.5.4! Set Auto rotation in Unity player settings and allow Landscape Left and Right. Also in Xcode, make sure both Landscape Left and Right are selected. Bang!
Thanks to that guy in Unity IRC, whose name I forgot.
As I explain in my topic, that BlackPanda has shared, for me, the problem isn’t solved, because I can’t change my Unity version …
I have tried a lot of method, without success, I need help …
Are you referring to the game itself being landscape while the display is portrait causing half of the game to be cut off?
If so then, the solution is to check landscape left and right to true in the player settings. The game will be displayed correctly, but both left and right landscape will be enabled. I have not figured out how to only allow one. There seems to be something in unity and iOS that conflict with each other. One possible problem is that unity defines left as right and right as left OR vise versa in Xcode.
edit to add…
Unity does apply left and right correctly in Android, so it has to be something is Xcode that defines left as right and right as left.
Yes I also think that it’s because of the direction mismatch between Unity and Xcode. Left is right and right is left. If you set orientation to Autorotate in Unity and allow both directions in Xcode, I think that problem can be solved.
I need to implement few different modes in the application. So I need to switch autorotation and portrait/landscape mode. Unfortunately Unity is still has an issue with this and I can’t get it working. Before I switch autorotation to portrait all works great (or if I start in portrait and before switch to atutorotation). But after switch all works not good. Here is the thread with more information. The same problem (Unity 4.5.5f4) Unity 4.5.5f4 iOS8 Screen orientation problem - Unity Engine - Unity Discussions
Well I thought I solved the issue, but unfortunately it persists. I tested it in iOS8.1 in my iPad3 with no issues. The orientation is as expected. But when I submitted the app to the store, it got rejected stating “App is locked in orientation opposite to that of the device.” It’s really annoying! So it’s a hardware issue?? They are probably testing with the latest iPad.
Anyway, I’ll check the suggested version of Unity in your thread.