iOS Handheld.PlayFullScreenMovie Suspend/Resume app

There is a specific case where you can suspend and resume a unity app that is playing a video, and have it overlap with the audio in your unity scene. At least it appears so in this case:

  1. Music is playing in a menu scene in the app
  2. User launches a video and I call Handheld.PlayFullScreenMovie
  3. User double taps the home button to reveal currently loaded apps (while video is playing)
  4. User double taps again or touches back on the screen with the movie playing
  5. The movie continues but the background music in the menu scene is also playing

It seems like in that case Unity is receiving the OnApplicationPause(false) message but the process jumps to the movie and Unity doesn’t suspend again. This does not occur if you play the movie, press home once, then relaunch the app. In that case it looks like Unity stops the video from playing when you resume. Odd, I know.

I think we fixed it for upcoming 4.2. But to make sure, please submit bug report with small repro project for us to recheck.

Thanks for the response Alexey!

I’ve submitted a bug with an example project. No email response yet.

Case 534752