Search Issue Tracker

Fixed in 2020.2

Fixed in 2019.3, 2020.1

Votes

75

Found in

2019.2.0a9

2019.3.0a1

2019.3.0b5

2020.1.0a1

Issue ID

1188316

Regression

Yes

[WebGL] VideoPlayer is not rendered in WebGL builds when the video is loaded via URL

WebGL

-

How to reproduce:
1. Open the attached project ("case_1188316-Webgl_bug.zip")
2. Open the repro scene ("SampleScene")
3. Switch build target to WebGL
4. Enter Play Mode and notice that the Video starts playing
5. Exit Play Mode
6. Make a WebGL build and run it

Expected results: Video starts playing in the build the same way as in the Editor
Actual results: VideoPlayer window stays completely black, warnings are thrown in the browser's console ("Error: WebGL warning: texSubImage2D: Source must not be null.")

Reproducible with: 2019.2.0a9, 2019.2.8f1, 2019.3.0b6, 2020.1.0a7
Not reproducible with: 2017.4.33f1, 2018.4.10f1, 2019.2.0a6
Couldn't test with 2019.2.0a7, 2019.2.0a8 ("RuntimeError: memory access out of bound" error is thrown on WebGL builds)

Reproduced with browsers: Chrome (77.0.3865.90), Firefox (69.0.2) Opera (63.0.3368.107)
Not reproduced in Edge (44.18362.329.0)

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0a12

  2. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0b9 (3745)

  3. Response avatar

    Resolution Note (fix version 2019.3):

    Fixed in 2019.3.15f1

Comments (38)

  1. 3cf3f3fea71ce58a122b8660b10c2a21?d=mm

    simba-mupfunya

    May 20, 2020 16:25

    @ISMAELNASCIMENTOASH Sweet temp. workaround, thanks!!

  2. 9713a1a79aa27ce1ce5bea99ef1ef6c1?d=mm

    ismaelnascimentoash

    May 20, 2020 12:07

    Hello guys,

    Link for fix this problem: https://youtu.be/APTruRrdJpQ

    Warning: Unity 2019.3.15 and newer this problem fixed too (https://issuetracker.unity3d.com/issues/webgl-videoplayer-is-not-rendered-in-webgl-builds-when-the-video-is-loaded-via-url)

    Regards,

  3. 94146bf0e9e7be8fcb9ace7a2e974e4a?d=mm

    blabberbytes

    May 20, 2020 06:49

    It's still not working for me! All I am doing is using the built in Video Player with no scripts . I use URL link it to https://files.myfilesehsekjfb and in unity, bud does not work on ITCH.IO!!! OMG This is so frustrating!

    I am not good with code, i am on 2020.1.0b9 which supposedly fixes the issue!! What am I missing?

  4. 94146bf0e9e7be8fcb9ace7a2e974e4a?d=mm

    blabberbytes

    May 20, 2020 04:58

    So It looks like issue is resolved. I'm about to check the new version. Anyone try it out yet?

  5. De4ec83ab4e43dae51fdd6199c8cc54d?d=mm

    Uli_Dantas

    May 19, 2020 23:51

    @SIMBA-MUPFUNYA Given their recent release cycle history:
    https://unity3d.com/pt/get-unity/download/archive
    Probably in 1 to 1.5 weeks

  6. 3cf3f3fea71ce58a122b8660b10c2a21?d=mm

    simba-mupfunya

    May 19, 2020 23:27

    When is this patch available... 2019.3.15f1?

  7. 3cf3f3fea71ce58a122b8660b10c2a21?d=mm

    simba-mupfunya

    May 17, 2020 12:18

    Im going nuts, downgrading isn't an option and in Firefox it stutters. Workarounds please Untiy!! using 2019.3.11f1

  8. 94146bf0e9e7be8fcb9ace7a2e974e4a?d=mm

    blabberbytes

    May 16, 2020 18:00

    IS there any work arounds? Been at this for days now and can't figure it out!! I'm running out of time!!

  9. 8697fd145fc52e0eaff29911837e944f?d=mm

    kou8484

    May 16, 2020 10:05

    ...and currently only 2020.1.0b8 is available... was what i ment to say.

  10. 8697fd145fc52e0eaff29911837e944f?d=mm

    kou8484

    May 16, 2020 10:04

    @Bluesheep They say the fix will be included in 2020.1.0b9 and currently only 2020.1.0b9 is available, so you will have to wait a couple of days.

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.