Search Issue Tracker

Fixed in 2022.2.X

Duplicate in 2020.3.X, 2021.3.X

Fixed in 2019.4.X

Votes

1

Found in

2019.4

2020.3

2020.3.3f1

Issue ID

1384846

Regression

No

[Android] CPU spike occurs on VideoPlayer.DestroyPlayback when Stop is called on the VideoPlayer or a clip is changed

Video

-

Reproduction steps:
1. Open the attached user's project "Video-Repro.zip"
2. Remove the VR Camera rig and disable the Oculus plugin in Project settings under Xr Plug-in Management
3. Enable Development Build and Autoconnect Profiler
4. Build for Android
5. Check the Profiler for "VideoPlayer.DestroyPlayback"

Expected result: no CPU spike on VideoPlayer.DestroyPlayback when Stop is called on the VideoPlayer or a clip is changed
Actual result: CPU spike on VideoPlayer.DestroyPlayback when Stop is called on the VideoPlayer or a clip is changed

Reproduces on: 2019.4.34f1, 2020.3.24f1
Could not test on 2021.2.7f1 and 2022.1.0b2 due AndroidManifest errors in the Console

Reproducible with these devices:
VLNQA00091 - Google Pixel 2 XL (Pixel 2 XL), OS: 11.0.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno 540
VLNQA00231 - HUAWEI Mate 20 Pro (LYA-L29), OS: 9.0.0, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00413 - samsung Galaxy Note10+ (SM-N975F), OS: 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
N/A, Samsung Galaxy S9 (SM-G960F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00202 - Samsung Galaxy Note 9 USA (SM-N9600), OS: 9.0.0, CPU: Snapdragon 845 SDM845, GPU: Adreno 630
VLNQA00013 - Galaxy S6 Edge+ (SM-G928F), OS: 7.0.0, CPU: Exynos 7 Octa (7420), GPU: Mali-T760
VLNQA00177 - Xiaomi Mi Note 2 (Mi Note 2), OS: 6.0.1, CPU: Snapdragon 820 MSM8996, GPU: Adreno 530
VLNQA00406 - Galaxy Z Flip3 5G (SM-F711B), OS: 11, CPU: Snapdragon 888, GPU: Adreno 660
VLNQA00415 - Oculus Quest 2 (Quest 2), OS: 10, CPU: Snapdragon XR2, GPU: Adreno 650

Notes:
-Issue is reproducible with Quest
-Issue doesn't reproduce with Windows Standalone Player
-On 2019.4.34f1 the spike is around 20ms

  1. Resolution Note (fix version 2022.2):

    Remove spike on the main thread when changing the video clip

Comments (1)

  1. 3DNewsman

    Jan 19, 2022 23:09

    Hi there. We're wondering if this one might make it into a release anytime soon. It definitely hinders our ability to use video on the Quest 2, since in serious cases it can freeze on a frame for several seconds and cause the user to be nauseated. Thanks for considering!

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.