UnityViewController autorotation

Hi, I am using XCode 4.5.2, iOS 6 and Unity 3.5.5f3 and orientations are all on.

My problem is that UnityViewControleler does not rotate his child ViewControllers (Gallery, Web, MoviePlayer, …).

So I did another UIWindow with my own rootViewController and use it to present modally my other native controllers. My native controllers then rotate fine (Gallerry, Web)…

EXCEPT MKMoviePlayerViewController crashes the app when I try to present another viewController after dismissing this movieController :confused: (message send to deallocated instance – I know what does mean, but have no idea how is that related to things I do – turning off display link did not help).

Maybe I do something wrong.

Another case is when I try to present MKMoviePlayerViewController from the original UnityViewController – video plays, iOS statusBar rotates fine, but the movie navBar and the movie content do not rotate.

Is that a bug in Unity? Should I upgrade or override some methods?

Please upgrade to Unity 3.5.6f4.
It has many fixes in that area.