Search Issue Tracker




Found in





Issue ID




[Android] VideoPlayer doesn't play video when played on Android API 23 or lower device



How to reproduce:
1. Open the user's attached "New Unity" project
2. Open the Build Settings (File->Build Settings...)
3. Switch to the Android Platform
4. Add "SamplScene" to the Scenes In Build
5. Build And Run the project on Android API 23 or lower device

Expected results: The video plays
Actual results: The video doesn't play, only a black square is seen

Reproducible with: 2021.2.0a1, 2021.3.3f1, 2022.1.0f1,
Not reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.1.28f1, 2022.2.0a13

Reproduced on:
Galaxy S7 - User
VLNQA00313, Huawei Y6 Ⅱ Compact (HUAWEI LYO-L01), Android 5.1, CPU: MediaTek MT6735, GPU: Mali-T720

Not reproduced on:
Windows 10
VLNQA00286, Meizu Pro 5 (PRO 5), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
----------, Oppo Reno Z 中国版 (PCDM10), Android 11, CPU: NOT FOUND, GPU: PowerVR Rogue GM9446
VLNQA00391, Xiaomi Redmi 9A (M2006C3LG), Android 10, CPU: MediaTek Helio G25 (MT6762G), GPU: PowerVR Rogue GE8320

  1. Resolution Note (2022.2.X):

    Code added for dealing with color format was using mechanisms that are not available in older Android versions, triggering internal exceptions. We now avoid these code paths when older Android versions are detected.

    Fixed in Unity 2022.2.0a12

Comments (3)

  1. sonhipabe01

    May 30, 2023 10:28

    Maybe your video has a problem. With my android, watching videos on TV platforms can be very seamless and without any problems other than network problems.

  2. eddienashuwu

    Apr 09, 2023 17:47

    There are several reasons why a video player may not play videos on Android API 23 or lower devices. Here are some possible solutions:

    Check the video format: Make sure that the video is in a format that is supported by the Android API 23 or lower devices. Older devices may not support newer video formats such as HEVC or VP9. Try converting the video to a more widely supported format such as H.264.

    Use a compatible video player: Not all video players may be compatible with older Android versions. Try using a video player that is designed to work with older versions of Android. Some popular options include VLC for Android and MX Player.

    Update the Android System WebView: Android System WebView is an essential component of the Android system that allows web pages to be displayed within apps. If the WebView is outdated, it may cause issues with video playback. Check if an update is available for the WebView and install it if necessary.

    Check the video encoding settings: Ensure that the video encoding settings are compatible with the device's hardware. For example, if the video has a high resolution or bit rate, it may not play on older devices that have limited hardware capabilities.

    Clear app cache and data: Clearing the cache and data of the video player app may help resolve any issues that are causing the video player to malfunction.

    Update the device's software: If none of the above solutions work, try updating the device's software to a newer version if available. This may help resolve any compatibility issues with the video player. However, note that not all older devices may be able to receive software updates.

  3. damnedboy92

    May 14, 2022 11:28

    This approach can greatly simplify the modification process for many specialists in this niche and beyond. If the guys at Https:// take this approach, everyone will benefit from it.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.