Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.2.0a1
Issue ID
1393231
Regression
No
[UI][UX][VideoClip] There's no proper way to know that VideoClip is not supported on WebGL
How to reproduce:
1. Open the attached project
2. Open "Video Scene" scene
3. Observe Cube game object and VideoPlayer component
Expected result: There's a warning in UI that VideoClip is not supported on WebGL
Actual result: No issues with component
4. Build & Run project on WebGL
Expected result: Video Plays as expected
Actual result: "Failed to load resource: the server responded with a status of 404 (Not Found)" error spamming console.
The Expected Error: should inform the user that VideoClip is not supported on WebGL. Use URL
Also, there's no mention of this issue in the public documentation:
https://docs.unity3d.com/2022.1/Documentation/Manual/class-VideoPlayer.html
Expected result: Mention WebGL limitation in VideoClip property description
Reproducible on: 2021.2.7f1, 2022.1.0b2, 2022.2.0a1
Notes:
- I noticed the "AudioClip is not supported on WebGL. User URL" warning only once in the console. I suppose while building after deleting the Library folder and never saw it again.
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
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
Resolution Note (2022.2.X):
The warning in the Editor console as well as the warning in the browser console are sufficient in the UI. We are updating the docs as well (tracking here: https://jira.unity3d.com/browse/PLAT-589)