-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Unity version
6000.0.53f1
Unity editor platform
macOS
AVPro Video edition
Core
AVPro Video version
3.2.8
Device hardware
iPhone 12 Pro Max
Which iOS version are you using?
18.6.2
Texture format
BGRA
Audio output
Unity
Any other Media Player component configuration required to reproduce the issue.
No additional configuration. MediaPlayer component is added to a prefab with default settings.
Which output component(s) are you using?
Display uGUI
Any other component configuration required to reproduce the issue.
No additional output component configuration. A uGUI RawImage displays the video texture.
The issue
In a minimal Unity project, we show a prefab window with a MediaPlayer inside. The window appears, waits 5 seconds, and then starts video playback.
Problem:
If the user opens the iOS top notification drawer (causing the app to pause) during the countdown (e.g., at 2 seconds remaining), and then closes it after the total time has passed, the timer logic detects that the video should have already started 3 seconds ago and calls MediaPlayer.Control.Seek(3)
followed by Play()
.
Unexpected behavior:
The video starts correctly from 3 seconds, plays for a few frames, and then suddenly pauses by itself without any further code interaction.
This does not happen if the app is not paused during the countdown.
Expected:
After resuming the app and seeking to 3 seconds, the video should continue playing normally.
Media information
Sent to email
Log output
No specific log errors or warnings are shown when the video pauses unexpectedly.