Search Issue Tracker
Duplicate
Votes
1
Found in
2021.2.0a1
2021.2.18f1
2021.3
2022.1
Issue ID
1427186
Regression
Yes
[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.zip" 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
-
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 (4)
-
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.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
This is a duplicate of issue #1407184