Search Issue Tracker
In Progress
Fixed in 2022.3.15f1, 2023.2.4f1, 2023.3.0a14
Fix In Review for 2021.3.X, 2024.1.X
Votes
0
Found in
2021.3.31f1
2022.3.10f1
2023.1.16f1
2023.2.0b12
2023.3.0a8
Issue ID
UUM-52266
Regression
Yes
[WebGL]VideoPlayer Rendering stops when setting FilterMode of a texture downloaded with UnityWebRequestTexture.GetTexture()
How to reproduce:
1. Open the attached Project "webgl-video-atlas" and load Scene "SampleScene"
2. Build and Run the Project on WebGL
3. In the Player, Click the "Stream Video" Button
4. Observe the Player
Expected result: Textures appear to the right of the VideoPlayer and the VideoPlayer continues showing the video
Actual result: Textures appear and the VideoPlayer becomes black
Reproducible with: 2021.3.31f1, 2022.3.10f1, 2023.1.16f1, 2023.2.0a19, 2023.2.0b12, 2023.3.0a8
Not reproducible with: 2023.2.0a18
Reproduced on:
* Google Chrome 116.0.5845.187
* Safari 16.6 (18615.3.12.11.2)
* Mozilla Firefox 118.0.1
Did not reproduce on:
* MacOS Editor
* MacOS Player
Notes:
* The Audio of the Video continues playing and the frame counter keeps going up even with the VideoPlayer showing a black screen
* Firefox throws the following Warning into its Console:
"WebGL warning: drawElementsInstanced: TEXTURE_2D at unit 0 is incomplete: Bad mipmap dimension or format."
* The issue might not reproduce immediately on Firefox and might take a few tries
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
- Crash on WriteParticleLineVertex when the "Generate Lighting Data" property is enabled in the Particle System
- UI overlay becomes visible in ray-traced reflections when HDR Color output is enabled
- Crash on EditorOnlyPlayerSettings::GetDefaultTextureCompressionFormat when switching or opening a specific project with Android or IOS Platform
- [Mobile] Player silently crashes on a mobile device when using a lot of "Camera" GameObjects (40 and more) in the Scene
- Scene is modified after exiting Play Mode when Graphics Compositor is enabled in HD RP
Resolution Note (fix version 2023.3.0a14):
The WebGL backend for the VideoPlayer was manipulating the graphics state directly from javascript without keeping the internal state cache (containing bindings) up to date. Now the internal state cache is correctly invalidated after the backend has updated the current frame from javascript.