-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Unity version
2022.3.10f1
Unity editor platform
macOS
AVPro Video edition
Core
AVPro Video version
3.3.5
Device hardware
Meta quest
Which Android OS version are you using?
14
Unity Graphics API
OpenGLES 3
Video API
media3/ExoPlayer
Texture format
BGRA
Audio output
System Direct
Any other Media Player component configuration required to reproduce the issue.
No response
Which output component(s) are you using?
Display uGUI
Any other component configuration required to reproduce the issue.
No response
The issue
I play a video from local storage with the following setup:
mediaPlayer.OpenMedia(MediaPathType.AbsolutePathOrURL, fullVideoLocalPath, false);
mediaPlayer.Loop = false;
mediaPlayer.Control.SetVolume(volume);
double timeStamp;
if (double.TryParse(player.Value, out timeStamp))
{
mediaPlayer.Control.Seek(timeStamp);
}
When I have not called mediaPlayer.Control.Play(); I can seek without any issues.
After calling mediaPlayer.Control.Play(); and then pausing the video with mediaPlayer.Control.Pause();
if I call mediaPlayer.Control.Seek(timeStamp) one or two times, the mediaPlayer becomes unresponsive and stops working.
I do not receive any errors.
After performing several other actions in the app, my app crashes.
I did the same with the AVPro demo using Demo_MediaPlayer built on a Google Pixel 4 XL.
Play -> pause -> spam seek multiple times and I received an error.
The logcat below is the error I received from the Google Pixel 4 XL.
Both are configured with MediaPlayer as follows

Media information
No response
Logcat output
evidence Pixel 4 XL: https://drive.google.com/file/d/1ozF4qHXqANhmCtOqx1Si0_hkNY5sW-2W/view?usp=sharing