Skip to content

[Android] 3.4.0 Videos sometimes do not display but audio plays #2484

Description

@Evryway

Unity version

2022.3.62f2

Unity editor platform

Windows

AVPro Video edition

Ultra

AVPro Video version

3.4.0

Device hardware

Samsung Galaxy Tab 5e

Which Android OS version are you using?

11

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.

No response

Which output component(s) are you using?

Display uGUI

Any other component configuration required to reproduce the issue.

Test project demonstrates reproduction on my device.

The issue

Sometimes videos do not display. The audio does play. If the device is left until the video completes, it triggers the end events.

I have set up a loop which picks from three test videos sequentially, displays for 2 seconds, and then starts playing the next one. approx 5%-10% the video will not display. The error is not deterministic on my device (it's not always the same video, or at the same point in the test sequence).

Media information

example videos are MP4, output from Shotcut. The issue happens both on device (streamingAssets) and streamed from Cloudflare. The issue happens with every video I've tested (eventually), suggesting it's not content specific.

Logcat output

Metadata

Metadata

Assignees

Labels

AndroidAndroid platformFixedA fix will be in the next release

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions