Search Issue Tracker

Fixed in 2018.1

Fixed in 5.6, 2017.1, 2017.2, 2017.3

Votes

76

Found in

5.6.2f1

Issue ID

931038

Regression

No

[Android] VideoPlayer stuttering and dropping frames

Video

-

How to reproduce:
1. Open stripped project from OC
2. Deploy app to device
3. Click 'Breathing'
4. Click 'What are the benefits?'
5. Click on the video 'play' icon
-- Observe abysmal video performance

Reproduced on: 5.6.2f1, 5.6.2p4, 2017.1.0p1, 2017.2.0b4, 2017.3.0a1

Issue cause: Multithreaded Rendering, with Multithreaded Rendering disabled video plays smoothly.

Devices under testing:
Samsung SM G900F (Galaxy S5)*, OS:6.0.1, CPU:armeabi-v7a, GPU:Adreno (TM) 330, Build:samsung/kltexx/klte:6.0.1/MMB29M/G900FXXS1CQC1:user/release-keys
Samsung SM G950U*, OS:7.0, CPU:arm64-v8a, GPU:Adreno (TM) 540, Build:samsung/dreamqltesq/dreamqltesq:7.0/NRD90M/G950USQU1AQC8:user/release-keys
Verizon SM G930V*, OS:7.0, CPU:arm64-v8a, GPU:Adreno (TM) 530, Build:Verizon/heroqltevzw/heroqltevzw:7.0/NRD90M/G930VVRU4BQC5:user/release-keys
Xiaomi MI NOTE Pro*, OS:7.0, CPU:arm64-v8a, GPU:Adreno (TM) 430, Build:Xiaomi/leo/leo:7.0/NRD90M/7.7.13:user/release-keys

Fixed in: 5.6.4p3, 2017.1.2p3, 2017.2.0p3, 2017.3.0b9, 2018.1.0a2

  1. Response avatar

    Yury-Habets

    Aug 25, 2017

    Our developer has identified the issue is caused by Multithreaded Rendering option enabled. Disabling it may be a workaround for you until we get a proper fix.

Comments (50)

  1. 465166362da5a8a8752195e9c629c025?d=mm

    UnrealTati

    Nov 09, 2017 17:04

    This issue is marked fixed, and yet, yesterday, using the newest Unity 2017.2f3, it clearly isn't fixed. What's going on guys?

    The main problem i see here, VideoPlayer.prepare() is being run on the main thread. Yikes. Even google suggests not doing so.

    What's going on??

  2. 45c3f1fae55e7e47cc02d4cacf040164?d=mm

    Tillmania69

    Oct 31, 2017 11:04

    Stuttering continues even with Multithreaded Rendering turned off.

  3. B275d6d9a071fc3dffe7638286285b9c?d=mm

    mark-007

    Oct 30, 2017 14:04

    Really pleased this is marked as "Fixed in a future release" but when is this fix likely to be released or has it already been released? I couldn't find mention of it). Cheers

  4. 9fd9e84667a39905d6b6ad6131b8afec?d=mm

    Cavaletti

    Oct 23, 2017 11:53

    When deploying an Android app with cardboard enabled under XR settings and playing it on a device, a warning dialog comes up if you don't have Google VR Services installed. After this window pops up, the Video Player starts to noticeably stutter.

    Exiting to home screen and resuming the app fixes the issue, and the Video Player plays smoothly. However, you can replicate the bug by clicking on the gear icon on the upper right, which causes another window to pop up prompting you to install the cardboard app. Everytime this window pops up, the video player stutters more and more (after 2/3 times, it's unwatchable).

    Disabling Multithreaded Rendering did not make a difference for me.

  5. 11098cac9d4289f9ff9882a912ef4985?d=mm

    ovirta

    Oct 23, 2017 11:26

    Disabling "Multithreaded rendering" solved our video freezing problem. (Samsung Galaxy Tab 4)

  6. 914d5e3b19c95c16eb244417a0255eac?d=mm

    mobiusmedia

    Oct 18, 2017 10:40

    Is this issue literally just being ignored?

  7. 054d54e5577e4ffd7f3dc745ed35a9aa?d=mm

    pratham2504

    Oct 01, 2017 17:53

    The problem is still prevailing guys. Please help with a solution.
    The videos seems to be working fine when played with a VideoClip hosted locally, but when a URL hosted on the cloud is played it takes forever the prepare and play.

  8. 9576f1c2f50e075661115808f6e60670?d=mm

    BenouKat

    Sep 30, 2017 16:59

    This is a terrible bug, why it's still on ? I'm locked on a project because of this.

  9. 3229ba2d27d02c2850fd237b5690ffb4?d=mm

    Archviz3d

    Sep 26, 2017 11:28

    ps: multithread rendering was disabled in both cases!!! My video is a 30 seconds one... and it stutters 2 or 3 times during that time... so in average every 10 / 15 seconds.

  10. 3229ba2d27d02c2850fd237b5690ffb4?d=mm

    Archviz3d

    Sep 26, 2017 11:26

    Hi!!!
    Im still having video stuttering when using video player in raw texture with unity 2017.1.1p3.

    But i have no problem when using it in unity 5.6.1.p1!

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.