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)
-
lucasgutierrez
Mar 25, 2020 01:38
Same issue with 2009.3.3f1
Downgraded project and tested with 2019.2.21, 2019.2.0a6, 2018.4.10f1 ,and the videos still don't play.
-
CirrusMinor
Mar 07, 2020 06:15
Videos still do not play in 2019.3.4f1
-
CirrusMinor
Feb 27, 2020 16:26
This issue still exists with Unity 2009.3.3f1 (verified Unity 2019.2.21 is the last version that can play videos in WebGL)
-
-Aymeric-
Feb 20, 2020 16:04
Tested with 2019.3.2 still here. Downgraded project to 2019.2.21 : no problem.
-
freakadelle
Feb 14, 2020 14:03
Same issue here with Unity 2019.3.0f6 but also reproduced in Microsoft Edge 44.18362.449.0
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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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