Recently CoreGuiChatConnections stopped working for about the first second or so after launching the test mode in studio. It worked fine before and I’ve made 0 changes to my custom chat that was relying on it.
This doesn’t work:
pcall(function()
StarterGui:SetCore("CoreGuiChatConnections", {ChatWindow = {MessagePosted = ChattedEvent}})
end)
This does:
task.delay(1, pcall, function()
StarterGui:SetCore("CoreGuiChatConnections", {ChatWindow = {MessagePosted = ChattedEvent}})
end)
It also doesn’t yield or throw any errors/warnings if used without pcall.
I’ve not changed my script in weeks so this is likely a problem caused by a recent(ish) update however I don’t have access to the bug category. Could someone try recreating this bug and report it at the correct category?
TLDR: When the above mentioned function is used within the first second or so of someone starting their game it does nothing.