Search Issue Tracker

Duplicate

Votes

11

Found in

2021.3.14f1

2022.2.1f1

2023.1.0a23

2023.2.0a1

Issue ID

UUM-20569

Regression

Yes

[Android] Player crashes on null pointer dereference when a VideoPlayer played from URL is stopped

--

-

Reproduction steps:

# Open the attached project (“VideoCrashRepro“)
# Open the “/Assets/Scenes/MainScene” Scene
# Build and run on an Android device

Expected result: Player does not crash
Actual result: The built player crashes after the video ends

Reproducible with: 2021.3.14f1, 2022.1.23f1, 2022.2.0a15
Not reproducible with: 2020.3.42f1, 2022.2.0a16, 2022.2.0f1, 2023.1.0a20

Reproducible with devices:
VLNQA00379, Oculus (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650
VLNQA00332, Samsung Galaxy XCover4 (SM-G390F), Android 9, CPU: Exynos 7 Quad 7570, GPU: Mali-T720
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 12, CPU: NOT FOUND, GPU: Mali-G76
VLNQA00318, Oneplus OnePlus 7 Pro (GM1913), Android 11, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00231, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76

Reproduced on: Windows 10 Enterprise 21H2

Notes:

* The player built with 2020.3.41f1 does not show the video but does not crash
* The video is lagging/stuttering in versions where the issue does not reproduce
* Does not show the video on IOS and does not crash after 10 sec

Comments (3)

  1. Adrian-Anta

    Jan 10, 2023 17:23

    Reproduced it on 2022.2.1f1 and 2021.3.14f1

  2. andreis_unity

    Jan 04, 2023 14:33

    Happening in 2021.3.15f1 as well. Using the `Stop()` method or destroying the game object that has the component attached crashes the Android builds.

  3. rulu420

    Dec 29, 2022 07:11

    The bug happens on 2022.2.0f1 as well . It didn't happen for a couple of builds but now it crashes on every build.

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.