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 (52)

  1. 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.

  2. 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!

  3. F74a5d0646a3fe1aebde2c436e7a3c9c?d=mm

    TheJimz

    Sep 25, 2017 20:59

    I am no longer seeing this issue with patch 5.6.3p4.

  4. F74a5d0646a3fe1aebde2c436e7a3c9c?d=mm

    TheJimz

    Sep 19, 2017 00:35

    The issue of the missing shader is a separate issue/bug, the stuttering remains a problem.

  5. 4f9c14e3e446fa58cb2a9fb401e46adc?d=mm

    Raneyd

    Sep 15, 2017 14:03

    Could not find video decode shader pass RGBAExternal_To_RGBA in shader Hidden/VideoDecodeAndroid
    Could not find video decode shader pass RGBASplitExternal_To_RGBA in shader Hidden/VideoDecodeAndroid
    AndroidVideoMedia::VideoDecoder::Blit failed. Decode shader probably unsupported.

    I get this error too

  6. F74a5d0646a3fe1aebde2c436e7a3c9c?d=mm

    TheJimz

    Sep 08, 2017 18:14

    Again video used to work just fine on 5.6.1p1, this is a regression.
    LogCat from patch 5.6.3p2 (Kindle Fire 5th Gen)

    Could not find video decode shader pass RGBAExternal_To_RGBA in shader Hidden/VideoDecodeAndroid
    Could not find video decode shader pass RGBASplitExternal_To_RGBA in shader Hidden/VideoDecodeAndroid
    AndroidVideoMedia::VideoDecoder::Blit failed. Decode shader probably unsupported.

  7. Dacd43c19cb761018a070c7abbf3f5eb?d=mm

    jsadler

    Sep 07, 2017 17:44

    I get audio but black screen video on android video player. Have tried numerous formats transcoding on and off.

    Getting error in logcat: Could not find video decode shader pass......Shader probably not supported on this platform.

    Device is Samsung Tab A6 (SM-T280) GLES 2 only.

  8. F74a5d0646a3fe1aebde2c436e7a3c9c?d=mm

    TheJimz

    Sep 06, 2017 17:56

    With the newest patch (5.6.3p2) android video appears to no longer play at all.

  9. 0e13f8f996c795439a7181cfbc6b25e6?d=mm

    Elmo424

    Aug 30, 2017 20:04

    This same issue occurs for me even with Multithreaded Rendering turned off, FYI, so I don't think that is necessarily the cause.

  10. 0392952f7d73db01a775f193233b465a?d=mm

    MaydayWorks

    Aug 27, 2017 18:40

    More Information!
    Disabling Multithreaded Rendering option avoided the seriously stuttering, but the video playback frame rate is still very low (lower than 10fps rated by eye). But, again, Pressing the HOME button to return to the launcher desktop, and then switch back to the unity application, the playing frame rate back to normal ( 30 fps looks like), with Multithreaded Rendering disabled.
    The major problem maybe what happened to the Android player when lost and regain the foreground, for the video player. Hoping useful for your developers. And waiting for a fix ASAP.

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.