Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.3.X, 2020.1.X
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
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)
-
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?
-
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 -
simba-mupfunya
May 19, 2020 23:27
When is this patch available... 2019.3.15f1?
-
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
-
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!!
-
kou8484
May 16, 2020 10:05
...and currently only 2020.1.0b8 is available... was what i ment to say.
-
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.
-
bluesheep4
May 15, 2020 21:40
This issue is absolutely infuriating. I even downloaded the Beta 2020.1 bc it says they've fixed it, but it doesnt run there either! Beta isn't even equipped to run in a live server, and even in the localhost build the videos dont work.
For my project it is imperative that I am able to use video in my WebGL build, and the fact that I see this issue has existed for years, across many versions of Unity is insane. Normally I have compassion for things like this, but the lack of documentation and the fact that the error continues to exist since what i can see 2015, across any number of versions is crazy!
-
ismaelnascimentoash
May 09, 2020 15:00
On my case, just not works in the last version of Google Chrome.
I tested with Unity 2019.3.13 -
kou8484
May 08, 2020 14:34
Using 2019.3.10f1 : I built a scene with the same video played one as "camera far plane" and one as a render-texture applied to a plane. I am playing the videos as urls and uploaded them, so not a streaming-asset. Both videos are roughly the same small size of 5mb and both are mp4s. One of them is the big buck bunny video (the one having more problems).
In Chrome one video plays most of the time! on both instances (camera far plane and rendertexture/material/plane). Sometimes it doesn't play on the camera far plane and sometimes not on the textured plane. What seems to help, is to manually add a "prepare()" function... most of the times. The other video is never played in chrome.In Firefox both videos play most of the time! (not reliable enough to actually ship my project to customers) on both instances, but there is massive stuttering (on an highend-gaming pc the same as on a cheap android phone).
Would love this to be fixed, as I am relying on this for my current project.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a12
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0b9 (3745)
Resolution Note (fix version 2019.3):
Fixed in 2019.3.15f1