- Home /
Android screen rotation very slow and my audio keeps going but the graphics stop
Hi,
I've got a problem with auto-rotation on Android; when playing my game if I rotate the screen the graphics stop updating but my audio continues for a couple seconds and then the screen rotates and the graphics start updating again.
I was hoping I'd be able to capture a message that tells unity to get ready to rotate so I could completely pause my game, then resume once it's done, but I haven't found such a message. Either that or preferably remove this ridiculous delay, but from my research it doesn't seem like I have any control over that.
Anyone have any ideas on how to deal with this issue ?
Thanks.
[EDIT]
I've tried monitoring the Screen.orientaion and Input.deviceOrientation and I can only get "notified" when the orientation changes, but not when the animation/screen actually rotates. It's at the point when the Screen.orientation changes that the issue arises.
So all I've been able to do so far is pause the game when you rotate, but I can't resume it automatically after the screen actually decides to rotate.
Your answer
Follow this Question
Related Questions
Delay at scene startup 1 Answer
Device orientation problems android 1 Answer
accelerometer Rotation limiting 1 Answer
How to rotatate an array of points(x,z) around origin point(x,z)? 1 Answer