Videoplayer dont play well on Android with Exynos 2100 (s21 ultra) Fix Version/s: 2023.2.20f1

ello everybody,

I am new here. Please forgive me if this is too basic, but I am struggling with this problem and I don’t know where to ask for help.

I am using Videoplayer to render an MP4 video on a texture. The video plays well on the game tab and in the compiled Windows build. However, when I test it on Android, the video constantly repeats the first second. I have tried many things, including creating a new scene solely for this purpose, but it fails as well.

Here is the videoplayer options
9143032--1270372--upload_2023-7-12_22-12-40.png

The render texture
9143032--1270375--upload_2023-7-12_22-14-47.png

It plays fine on the editor:
9143032--1270378--upload_2023-7-12_22-15-31.png

and here is how it shows in Android (s21 ultra)
9143032--1270387--Screen_Recording_20230712_220039_3D Primer Tutorial (1).gif
I hope someone can help

Thank u all!!

9143032--1270378--upload_2023-7-12_22-15-31.png

1 Like

Is just me? can be my device? It is a Samsung S21 ULTRA with exynos chip

I think I found the problem. I tested the game on an Android phone with Snapdragon, and the video plays well. So I think there is a problem with the Exynos 2100 chip on the S21 Ultra. I don’t have many devices to test, but this seems to be the bug specific to this GPU.

Can you open a bug report? It is definitely not normal and it is possibly the device as you said but it could be also the Android version or vendor (all Samsung phones for example).

I submited it ( Incident created: IN-48114 ), thank you.

1 Like

Hi, did you solve this issue? I’m having the same problem currently and no one seems to have an answer.
Thanks

Hi everyone! We’ve been poking at this for a while and haven’t been able to find a fix yet; there seems to be a bug in how a texture pool is managed on this specific model, leading to textures being recycled before the drawing is finished when using the Vulkan hardware-assisted code path.

We’ll keep searching for a way to have the device behave properly, but in the mean time, if it is any help, we have found that the GLES3 code path doesn’t have this issue.

Dominique

Hi, concerning this, can I detect the GPU name (using SystemInfo.graphicsDeviceName it seems to be “Mali-G78”) to make specific behavior? Or is it more related to this model or other chip?

Something very similar happens on Samsung A54. It seems like the video player is getting stuck and repeating first second of the video. Can confirm it doesnt happen with GLES3

@DominiqueLrx How is the fix looking? Is it close? I actually cannot use GLES3 due to multiple shader problems and need to use Vulcan. But with Vulcan there is this video issue, which is really game breaking for affected users.

Also to add to this. The issue is not present on Unity 2021. The issue started when i switched to Unity 2022. I am currently at Unity 2022.3.20f1

solve this issue? I’m having the same problem currently too.

Any updates on this issue? we are also facing the same problem.

They Said that the bug has been corrected:

https://unity3d.atlassian.net/servicedesk/customer/portal/2/IN-48114

A fix for your bug report IN-48114: [Android] Video repeats the first frame on Android when it is played via Unity’s Video Player component has been verified and approved.

Fix Version/s: 2023.2.20f1

Hi,

I’m facing a similar issue while playing videos on devices like the Samsung A15 and A10. The intro video screen appears as a black screen.

Here’s what I’ve tried so far:

  • Adjusting render texture settings.
  • Checking logcat outputs, which indicate no errors; everything seems to be working as expected.
  • Verifying that the video files are compatible with the target devices.

From my debugging, I’ve confirmed that the scene background activities are working, and the buttons are responsive. However, since the video is supposed to cover the screen, I can’t proceed any further.