|
When testing our game on iOS4 the orientation went from landscape to portrait no matter how we hold the phone (and unity is configured to Landscape Left). Has anyone else seen this problem and maybe has a solution? Okay, let's try with a bounty. But I'm not looking for 'record movie in landscape' or do it in Objective-C as answer, those two options I've already considered and are would prefer to not solve it this way.
(comments are locked)
|
|
Assuming you're using Unity iPhone Advanced, you could easily write your own movie playback method. Just make sure to call UnityPause() before you start playing back your movie. Here's a blog post that goes into detail about the changes in the movie player controller between 3.2 and 4.0 It sucks, but it looks like I have to solve it in Objective-C after all, thanks for the UnityPause() hint, though.
Jul 29 '10 at 03:01 AM
Jaap Kreijkamp
Did you get the objective-c solution?
Jun 06 '11 at 10:54 AM
David
(comments are locked)
|
|
It seems to be a bug in Unity iPhone. If it weren't for the fact you want to release the game in a few weeks, I'd suggest waiting until Unity 3.0 which most likely fixes the iOS4 issues. Since you probably can't hold off that long, your best bet may be to try get in touch with Unity Tech and see if they can supply a version with a fixed orientation mode, mentioning that there are time constraints. If that doesn't work, well, you could always record the movie in landscape ;) (Sorry, couldn't resist) Unity 3.0 beta 4 doesn't solve it yet, so guess I have to write a solution in Objective C after all. Recording movie in landscape will break pre iOS4 devices (or I need to supply both movies and select the right one based on iOS version, but that vastly increases size).
Jul 29 '10 at 02:59 AM
Jaap Kreijkamp
(comments are locked)
|
|
Yep I have this problem too. Don't know how to fix it, but I sure would like to :) It would have been a lot better if you had made this post a comment
Jun 22 '10 at 03:26 PM
Pirate___man
(comments are locked)
|

seems a bug, you might wait for unity to fix it. they will do a quick fix surely. apple always breaks compatibility wildly! :)
Sure wish I could answer that question. I would love those reputation points XD.. I guess no one knows the answer.
Yeah, it's either a bug in Unity or in iOS4 but hoped to have an easy workaround as we try to finish the game in a few weeks (revoltgame.info in case you want to know :-).