Search Issue Tracker

Fixed in 2018.1.X

Fixed in 5.6.X, 2017.1.X, 2017.2.X, 2017.3.X

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. 59e7291d4b5e0eb6f6264ae580cbf5b5?d=mm

    Ambigate

    May 31, 2021 09:41

    Hi,

    with Unity >= 2018 you can still have this problem in Unity on Android. Maybe also in ios.

    The solution can be on two points.

    1. Deactivate Multiplayer Rendering as descriped (Here it is possible the problem ist solved in newer unity versions )

    2. This Problem ca be appear if the video is not exported with specs unity3d supports. Maybe wrong framerate or file format. Change the videoproperties to the specs unity needs.

    Hope it still helps in 2021

  2. Eb834d782fc5d5affd8d91bae99acfe5?d=mm

    paulksi

    Oct 13, 2020 19:14

    Another samsung s5e user, i confirm it stops, also s5e gyroscope is very unstable, the only way i found is using av pro plugin

  3. 3b7fd7be0a8cfd84d035964c7d262b20?d=mm

    IARI

    Sep 10, 2020 10:59

    This issue is still present in unity 2019.3.
    Also there are apparently bots posting spam in the comment of this issue tracker - all of this doesn't come across as serious

  4. 2d9aeeb27feac7ef93b1f81c9e0c8b06?d=mm

    Constantin_Suman

    Mar 05, 2020 10:55

    Still an issue:
    Samsung Galaxy S5e
    Unity 2019.2.6f1

    But works fine with:
    Samsung Galaxy S3

    Multi-threading was already disabled.

    Tried but did not work another solution, setting the mp4 videos to these settings:

    Override for Android ✓

    Transcode ✓
    Dimensions Original (330x1018)
    Codec H264
    Bitrate Mode High
    Spatial Quality High Spatial Quality

  5. 2d9aeeb27feac7ef93b1f81c9e0c8b06?d=mm

    Constantin_Suman

    Mar 05, 2020 10:45

    Still an issue:
    Samsung Galaxy S5e
    Unity 2019.2.6f1

    But works fine with:
    Samsung Galaxy S3

  6. 582531266b2b3186f1fc4fabc659f521?d=mm

    Ham1ton

    Dec 29, 2019 21:52

    Can this issue be opened again once it's closed or do we have to submit a new one?

  7. 67318d95c6d7d88e8ce887e67319bdc3?d=mm

    nsmith1024

    Dec 12, 2019 15:16

    Multi-threading was already disabled problem still exists. im using Unity 2018.3, VideoPlayer keeps stuttering every 2 seconds, stopping and going, both video and audio on android keeps stopping, its not usable at all, not even a little bit.

    Its as if something is hogging the CPU, or network get stuck and nothing to play for a second, but the game scene has nothing in there except the VideoPlayer and the player itself.

    Other video players work fine on the same video, but they dont have AudioSource like the Unity VideoPlayer does, i need the AudioSource, or else i would have dropped this player long ago.

    Is Unity Company ok with having VideoPlayer that doesnt work on Android when so many developers out there making android apps? So many complaints (including mine) cant be wrong!

    Right now im stuck because player dont work!

    PLEASE FIX!!!!!!!

  8. 67318d95c6d7d88e8ce887e67319bdc3?d=mm

    nsmith1024

    Dec 12, 2019 15:06

    Hello, VideoPlayer is constantly stopping and skipping frames on simple videos, its unusable on Android. So many people complaining, when will it be fixed???

  9. 352ccd9a538bc3c1767456dddadb3f4e?d=mm

    tatoforever

    Nov 01, 2019 17:24

    This still a problem on powerful Android devices and Unity 2018.4.12f1. Stop doing nothing and fix the freaking bug, come on!

  10. 68be4a808072db7ce845ed8116b713a5?d=mm

    Casanova87xx

    May 09, 2019 09:49

    This problem exists even in Unity 2019.1.

    I have fixed this opening the project with Unity 2018.2.2.1f1 and transcoding the vídeo (was working even without the transcode, the problem is with some Unity versions).

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.