Live Youtube chat showing up as dots

KoiwaFantasia

New Member
I came across this issue while live streaming on Youtube where the live chat appears as dots and only become messages again when the element is refreshed. I use the Browser element to display the live chat and I have a custom CSS code to customize it. I am using the latest version of OBS (OBS Studio 29.0.0) and I've restarted my laptop twice but it didn't fix the issue. Anyone knows what the issue is because I haven't been able to find anyone with a similar issue.

Here's a video showing the issue at hand: https://youtu.be/EKFSgoH4zlQ

OBS log file: https://obsproject.com/logs/CO7yTPhC140GPex5
 

h-banii

New Member
I have a wild guess, but by any chance does your browser source's custom CSS contain anything remotely similar to this ?
CSS:
yt-live-chat-renderer {
  background-color: transparent !important;
}
Or maybe instead of "transparent" it's set to a color like rgba(0,0,0,0); or instead of "background-color" it's just "background"; etc...

If yes, then just remove it (and please tell me if it worked).
If not, could you share your custom CSS, if you don't mind?

And, in the worst-case scenario, you could try to downgrade your OBS to 27.2.4 (or lower) and it should probably work (from what I've tested), but I really wouldn't recommend it.
 

h-banii

New Member
Here's all the information I know about this issue and some work around solutions.
  1. Software: it happens on OBS 28.0-beta1 (or newer), it doesn't seem to happen on OBS 27.2.4 (or older) and does not happen on a common browser (tested on Chromium 108). It seems to only happen on CEF (version around 103 or above), but I'm unsure if that's really the root of the problem or just a correlation.
  2. How to reproduce it: set the background style of "yt-live-chat-renderer" to any color with any amount of transparency, like "rgba(0,0,0,0.8)" or "transparent". Look at my other comment above for a minimal reproducible example;
  3. Observation: The problem doesn't seem to be purely related to CSS, because the new messages don't just "look" empty, they're actually empty. The element is in there, but the content, like author name and text message, is empty.
From googling it, that CSS property has been used to make youtube's live chat transparent and it seems to have worked fine until around last year or so. I couldn't find a pure CSS solution to make it transparent without triggering this bug, but there are some work arounds (see below).

Work around solution 1 (Luma Key)

Change the background property to a solid color like black (or white) and then use a Luma Key filter on your browser source, adjusting the Luma Min Smooth settings to your liking. This solution is quick, easy and doesn't look that bad... for the most part.
CSS:
yt-live-chat-renderer {
  background-color: rgba(0,0,0,1) !important;
}
image_2023-02-16_135100517.png


Work around solution 2 (Chroma Key)

Alternatively, you can use a specific color like #00FF00 (green), for example, and use a Chroma Key filter instead. You'll need to adjust the settings until it looks right, but it usually looks better than Luma key.
CSS:
yt-live-chat-renderer {
  background-color: rgba(0,255,0,1) !important;
}
image_2023-02-16_155333244.png

It's important to notice that the color doesn't need to be green, you can change it to any color you want and adjust the chroma key by setting the "Key Color Type" to "Custom" and selecting the color you want.

Work around solution 3 (downgrade)

You can downgrade your OBS to version 27.2.4 and it should work (from what I've tested). But I really do not recommend doing it just to fix this 1 specific bug.
 
Top