Search Issue Tracker

By Design

Votes

6

Found in

2018.4

2019.3.14f1

2020.2

Issue ID

1250852

Regression

No

[WebGL] VideoPlayer is stuttering on WebGL builds when using Firefox browser

WebGL

-

Reproduction steps:
1. Open the attached project ("case_1250852-VideoStutter.zip")
2. Switch the build target to WebGL
3. Build and run the project with Firefox browser
4. watch the video

Expected result: Video is played back smoothly
Actual result: Video has slow-downs and stutters

Reproducible with: 2018.4.23f1, 2019.4.0f1, 2020.1.0b12, 2020.2.0a14

Reproducible with Firefox (77.0.1)
Not reproducible with Chrome (83.0.4103.97), Edge (83.0.478.44)

  1. Resolution Note (2020.2.X):

    Debugged this to be a video playback bug in Firefox. Upstream bug report registered to https://bugzilla.mozilla.org/show_bug.cgi?id=1667644

Comments (4)

  1. forgegamingstudio

    Dec 27, 2022 12:46

    @PETES this solution worked for me, now it works fine in firefox. However, it stopped working in other browsers. Did the same happen to you?

  2. MaskedMouse

    Feb 02, 2021 09:57

    This is still an issue

  3. artfail

    Jul 30, 2020 01:40

    Dealing with this as well in Unity 2019.4.5

  4. PeteS

    Jul 09, 2020 01:17

    Have same issue in Firefox.
    Fix that worked for me in firefox webgl build was to re encode the videos to webM format VP8.
    I used a "Free WebM Encoder" to convert the mp4 files.
    I renamed the webM extension back to mp4 and uploaded the files does not stutter anymore.

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.