Search Issue Tracker
Fixed in 2021.3.34f1
Fixed in 2021.3.X, 2022.3.X, 2023.2.X, 2023.3.X, 2023.3.0a14, future release
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
- [Linux] Cannot reorder GameObjects in the Hierarchy when the AI Assistant package is installed
- [iOS] Text Input field stops receiving changes when the "Cancel" button is used on the soft keyboard
- [WebGPU] URP RenderGraph RenderPass doesn't clear textures
- Query Builder items display raw code style names instead of human readable labels in search field
- “+” button does nothing and has no functionality when clicked in Human Template "Bone Template" list
Resolution Note (fix version 2023.3):
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.