SetCore: ChatWindowPosition has not been registered by the CoreScripts

Did Roblox change something? My game no longer works because of this error, it was not happening a few days ago.

--Put chat in bottom left corner
game:GetService("StarterGui"):SetCore("ChatWindowPosition", UDim2.new(0,5,0.725,-5))
game:GetService("StarterGui"):SetCore("ChatWindowSize", UDim2.new(0.225,0,0.275,0))

You should always pcall SetCore calls and repeat them a few times in case they take some time to be registered by core scripts. This way the game would not be broken even if Roblox renames, removes, or delays the creation of the core method.

So I did this

local Repeats = 10

function moveChat()
	--Put chat in bottom left corner
	game:GetService("StarterGui"):SetCore("ChatWindowPosition", UDim2.new(0,5,0.725,-5))
	game:GetService("StarterGui"):SetCore("ChatWindowSize", UDim2.new(0.225,0,0.275,0))
end

function moveChatRecursive()
    local Success = pcall(moveChat)
	if Success then
	    print("Chat moved!")
	else
		wait()
		if Repeats > 0 then
			Repeats = Repeats - 1
			print("An error occurred, retrying.")
			moveChatRecursive()
		end
	end
end

moveChatRecursive()

And it prints:

An error occurred, retrying.
Chat moved!

But the chat doesn’t move.

Here is the repro file:

Chat Repro.rbxl (12.6 KB)

It appears that it’s the “LoadCharacterAppearance” option which is creating the error, if it is enabled the script works perfectly, but if it is disabled it does not work. I’ll go ahead and make a bug report.