Chat GUI not loading in studio?

For the past week or so, the chat will not load in the studio.
It works fine in game, but since it does not load, the scripts do not run, because most of them have this line at the start of the code to disable the chat when necessary:

local Chat_Gui = Player.PlayerGui:WaitForChild("Chat")

So, because of this I have to playtest my game through roblox itself (which takes much longer).

I’ve experienced the same problem though it only happens about 1/2 the time.

Edit: I realized some scripts placed where the ChatUI should be that had some commented out lines saying:

--This script is used when a Player is in the game before we have a chance 
--- to put the ChatScripts in StarterPlayerScripts. This script looks for 
--- the ChatScripts in a users PlayerScripts and clones them from 
--- StarterPlayerScripts if they do not already exist. 

Reading through it should clone “ChatScript” and place it into the player, however it doesn’t seem to happen.

(Joining the game copying it from starterplayerscripts then stopping, and pasting it into starterplayerscripts will fix the problem, but I assume it would also remove any updates to the chat roblox rolls out later)

You could try running Server → 2 Player test mode, perhaps that would be a workaround while the Play Solo issue is resolved?

Well I guess until roblox fixes it, the scripts will have to add a ScreenGui to the PlayerGui if the chat is not found.

You should really have a timeout, either way, :WaitForChild(“Chat”, 30). That way you don’t have to create a mock “Chat” ScreenGui.

That will not work, because the scripts still require the existence of the chat to run.