WebGL Video Texture Playing on TextMeshPro Font

Hi all,
We are having a strange bug where the VideoRenderTexture we are using to play videos in the Unity VideoPlayer starts showing up on the font we use in our game. This only happens in the WebGL build.
Does anybody have any idea why this might occur, or how to go about debugging this?
Video attached. (I would say it is pretty creepy to see a video of a speaking face show up on a font!).

or click HERE
We are using 20.3.651
The font came with Casual GUI kit and is “LilitaOne-Regular Outline 54 SDF”
-Roger

Solved by going from WebGL2.0 to WebGL1.0 in the Other Settings of the Player during build.
I still believe there is something amiss with texture indexing when using WebGL2.0 to build in Unity.

If this is a WebGL2 issue, we definitely want to figure it out.

That’s definitely not the fix we’d like! Going back a few pages in the forum, I just saw this post as well that’s probably related: UI.Text is lost after enabled when video is playing

Please submit a bug report which would greatly help us dig into this further and speed up the process. Share the bug report with me and I can follow up on it.

Hello there, I wanted to bump up that similar issue I found aswell.

I noticed that if I had at least one video player running and lightmaps rendered for the scene, the first video player to run would be also rendered monochromatic and stretched on the ground.

The project is under 2019.4.13f1 and I also have the same issue under 2020.3.17f1.

To fix that, well I removed the single instance of TextMeshPro I had into a sprite but that’s not a viable solution for an advanced project; though I’m pretty sure it’s only related to UI Canvas because another project I made was using TMP in World Canvas based without any issues. Also, just disabling the object parent of that TMP instance was stopping that weird behavior, I’m suspecting a conflict between shaders used by TMP 2D texts for WebGL and lightmaps, not that niche tho.

The other solution was to switch from the color space “Gamma” to “Linear” and disable “Auto Graphics API” (so a sort of downgrade speaking of WebGL versions from 2.0 to 1.0?) but it made videos a bit brighter overall.

I don’t know how well it can be reproduced but it should be noticed on the Unity Issue Tracker