UnityPlugin-AVProVideo
UnityPlugin-AVProVideo copied to clipboard
[Android] video doesn't show after scene restart
Unity version
6000.0.45
Unity editor platform
macOS
AVPro Video edition
Ultra
AVPro Video version
3.2.6
Device hardware
Google Pixel 7, Pixel 4a, Samsung S20, Samsung S25 Ultra
Which Android OS version are you using?
15
Unity Graphics API
Vulkan
Video API
media3/ExoPlayer
Texture format
BGRA
Audio output
System Direct
Any other Media Player component configuration required to reproduce the issue.
AutoOpen, AutoPlay enabled
Which output component(s) are you using?
Apply to Mesh
Any other component configuration required to reproduce the issue.
Setup of our Scene: Videoplayer in AR Scene with Apply to Mesh. Starting over Timeline with Mediareference.
The issue
When using Exoplayer on Android we have the following problem:
- we start the “story”-Scene and play the video → then switch to UI Scene → restart the story Scene → the video don’t show up. The debug log in Logcat “Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources” shows up.
Switching to MediaPlayer fixed the Problem, but causes another. Some Pause() and Stop() Events doesn’t work although debugging with Rider says Player has paused/stoped. (This Problem happens mainly on Samsung Devices Android 13 and 15, but sometimes also on Pixel 7)
Media information
No response
Logcat output
A full, unfiltered logcat in txt format would be helpful
I send you an email with the logcat data and a video.
Thank you so much for the email support! CloseMedia with all active and inactive mediaplayer fixed it.