Chat has stopped opening in live servers in a game I’m making.
The chat button appears but the chat box doesn’t open when you press it. Messages sent to chat show a little number notification but can’t be seen.
Sometimes chat works fine, most of the time it doesn’t.
The only time I touch default roblox GUIs is when loading the main menu; chat is disabled for the main menu and reenabled when the player spawns in, but this isn’t the problem because the problem still persists when I comment out that code. The only other time my script touches roblox’s chat GUI is to send a message to chat using ChatMakeSystemMessage.
This problem doesn’t exist on old backup files that I made but randomly appeared on more recent backups that I haven’t touched.
All assets in my game are either default rbx assets or ones that I made. The plugins I have are the same that I’ve always had.
Video:
(The number bloops that I appear are from testing messages that should be sending system messages to the chat)
Edit: I figured it out lol
I have this line of code when the main menu is loaded:
for _, child in pairs(player.PlayerGui:GetChildren()) do child.Enabled = false end
In order to close all other gui besides the main menu gui. However, it also disabled the player’s chat gui.