Skip to content

[Android] Extreme FPS drop with multiple video Player #2309

@blanxdev

Description

@blanxdev

Unity version

6002.2.0f1

Unity editor platform

Windows

AVPro Video edition

Ultra

AVPro Video version

v3.2.4

Device hardware

Meta Quest 3

Which Android OS version are you using?

14

Unity Graphics API

Vulkan

Video API

media3/ExoPlayer

Texture format

BGRA

Audio output

Unity

Any other Media Player component configuration required to reproduce the issue.

No response

Which output component(s) are you using?

No response

Any other component configuration required to reproduce the issue.

No response

The issue

We are experiencing a strange app performance drop.

The app has a relative high cpu load. When starting multiple video players, after a certain threshold of players, the fps drop from maybe 60fps to 5fps. Even when stopping the players again, the fps stay that low. This did not happen with the the AVPro 2 version in Unity 2022.

We know that a high base cpu/gpu load is not good, but this did not happen with our app before upgrading to Unity 6 and the AVPro 3 version. Or maybe Vulkan can be the reason.

But checking the running threads on the device I can see some threads that jump to high cpu usage suddenly when the player threshold is met.

Before the limit hits
Image

When we met the limit
Image

Media information

No response

Logcat output

Metadata

Metadata

Assignees

Labels

triageNeeds triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions