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)
Comments (45)
-
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
- Shadow cascade culling does not work when used with Skinned Mesh Renderer in URP
- "Fatal signal 6 (SIGABRT)" is shown in the Console instead of crash details when "androidChainedSignalHandlerBehavior" is set to "legacy"
- BakeTrailsMesh Errors in the console when the Trails module of the particle system is enabled, the Mode is set to Ribbon and it's count is more than 1
- Global shortcut bind is set to default instead of previous value when setting it to a disallowed key
- Shortcut bind is removed when editing shortcut and clicking outside the Shortcut Manager window
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