Search Issue Tracker

Fixed

Fixed in 2021.3.32f1, 2022.3.12f1, 2023.1.19f1, 2023.2.0b16, 2023.3.0a7, 7000.0.0a1

Votes

3

Found in

2021.3.30f1

2022.3.8f1

2023.1.11f1

2023.2.0b7

2023.3.0a5

7000.0.0a1

Issue ID

UUM-3364

Regression

No

[Android] Player often crashes when playing the Video Player Seek frame that's more than a minute away from the current frame

--

-

How to reproduce:
1. Open the user's attached "TestVideoSeek" project
2. Build and Run the "SampleScene" Scene
3. Seek to a frame that's more than a minute away from the current frame

Expected result: The selected frame is played
Actual result: Player crashes

Reproducible with: 2019.4.39f1, 2020.3.34f1, 2021.3.2f1, 2022.1.0f1, 2022.2.0a13

Reproducible with devices:
VLNQA00472 - Samsung Galaxy A52 (SM-A525F), CPU: Snapdragon 720G (SM7125), GPU: Adreno 618, OS: 12

Not reproducible with devices:
VLNQA00001, Google Pixel 2 (Pixel 2), Android 11, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00006 - Samsung Galaxy S7 (SM-G930F), OS: 8.0.0, CPU: Exynos 8 Octa (8890), GPU: Mali-T880
VLNQA00121 - Samsung Galaxy S9 (SM-G960F), OS: 9.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00219 - Samsung Galaxy Note9 USA (SM-N960U), OS: 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno 630
VLNQA00225, Qualcomm null (SDM845 for arm64), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00263 - Google Pixel 3 (Pixel 3), OS: 12.0.0, CPU: Snapdragon 845, GPU: Adreno 630
VLNQA00277 - Asus ROG Phone (ASUS_Z01QD), OS: 9.0.0, CPU: Snapdragon 845 SDM845, GPU: Adreno 630
VLNQA00288, Samsung Galaxy J7 (SM-J730F), Android 8.1.0, CPU: Exynos 7 Octa 7870, GPU: Mali-T830
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
VLNQA00404 - Galaxy Z Flip3 5G (SM-F711B), OS: 11, CPU: Snapdragon 888, GPU: Adreno 660

Couldn't test with:
VLNQA00458 - Google Pixel 6 (Pixel 6), CPU: Google Tensor (Whitechapel), GPU: Mali-G78, OS: 12 (video is not rendered, the Scene is just white)

Stack trace:
AndroidRuntime: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
AndroidRuntime: x0 0000000000000000 x1 000000000000424b x2 0000000000000006 x3 00000071c0a43830
AndroidRuntime: x4 5346ff716478606b x5 5346ff716478606b x6 5346ff716478606b x7 7f7f7f7f7f7f7f7f
AndroidRuntime: x8 00000000000000f0 x9 9322699cdd07ea07 x10 0000000000000000 x11 ffffff80fffffbdf
AndroidRuntime: x12 0000000000000001 x13 000000001101fd30 x14 00000071c0a41860 x15 00000000714b17b0
AndroidRuntime: x16 00000073d0f0ed30 x17 00000073d0ee7c30 x18 000000717b180000 x19 00000000000041a2
AndroidRuntime: x20 000000000000424b x21 00000000ffffffff x22 b4000073274f2540 x23 0000000008f2e893
AndroidRuntime: x24 00000071c0a44000 x25 00000071c0a44000 x26 00000073d0d60be8 x27 00000000000fc000
AndroidRuntime: x28 00000071c094b000 x29 00000071c0a438b0
AndroidRuntime: sp 00000071c0a43810 lr 00000073d0e97df4 pc 00000073d0e97e20
AndroidRuntime: backtrace:
AndroidRuntime: #00 pc 000000000008be20 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 2f03e284efbab0171cd8e23648eb35f3)
AndroidRuntime: at libc.abort(abort:168)

Note: Player doesn't crash after opening it few times

  1. Resolution Note (fix version 2023.3.0a7):

    Working around a Samsung-specific bug in http sources caching when seeking ahead outside of the cached window. The fix involves re-creating the underlying source reader and immediately seeking ahead before it has had a chance to fill its cache window.

Comments (2)

  1. AndrewSpalato

    Apr 27, 2023 03:58

    Have been experiencing crashes on Android when seeking video streamed from a URL using UnityEngine.VideoPlayer on Unity 2021.3.19f1 and Unity 2021.3.23f1.

    It seems to occur when the seeking video frame is not ready. When seeking small amounts, the frame is more likely to work and not cause a crash. Waiting a while allows a video to be streamed and seek without crashes. This can depend on the size of the entire video being used and how much is loaded.

    I am hoping to have this bug fixed so I can use Vulkan graphics API in our app.

  2. polysoft3D

    Feb 25, 2023 13:37

    Crash on 2go devices after 5-10 min of video

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.