Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.3.X, 2022.1.X
Votes
3
Found in
2021.2.0a3
2021.2.8f1
2022.1
2022.2
Issue ID
1397499
Regression
Yes
Video's Alpha not transparent when built with WebGL
How to reproduce:
1. Open the user's attached project "VideoAlphaBug.zip"
2. Build and Run with WebGL
Expected result: Video's background is transparent
Actual result: Video's background is black
Reproducible with: 2021.2.0a3, 2021.2.11f1, 2022.1.0b6, 2022.2.0a3
Not reproducible with: 2019.4.35f1, 2020.3.28f1, 2021.2.0a2
Note: Not reproducible in Play Mode
Comments (2)
-
unity_81XY9jlPyxljog
Oct 05, 2023 07:17
I agree. I noticed some improvement between an old version and Unity 2021.3.31f1, but 2021.3.31f still has a black background in WebGL for a .webm video while in the Editor it the background is transparent.
-
Marks4
Aug 30, 2023 15:17
It still doesn't work for me. Webm video shows black background, even if I use gamma space. Unity 2021.3.29f1
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
- GfxDevice::UpdateBufferRanges when running UIBuilder tests
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
Resolution Note (fix version 2022.2):
Fixed in: 2021.3.4f1, 2022.2.0a11 and above.
The problem only appears when using linear colorspace. Alpha support had been disabled because of browser bugs in handling linearization of sRGBA content. The disabling has been restricted only to the browser platforms where this is known to be broken, which is Firefox and WebKit-based browsers. Chromium-based browsers are now back to supporting transparent videos in linear colorspace. Note that transparent videos in sRGBA colorspace are not impacted by this (they were and remain functional).
Resolution Note (fix version 2022.1):
Fixed in 2022.1.4f1
Resolution Note (fix version 2021.3):
Fixed in 2021.3.4f1
Resolution Note (fix version 2020.3):
Issue is not reproducible in this version similar to 2019.4.
The reason being that support for linear space is not introduced in 2020.3 yet - Linear space support has removed the transparency on other versions.
Since the linear support is not part of 2020.3, the transparency functions as expected.
Using tip of the 2020.3 staging's change-set to mark the case resolved.
Resolution Note (fix version 2019.4):
Fixed in 2019.4.40f1