SetCore: ResetButtonCallback has not been registered by the CoreScripts

Reproduction Steps

In my game, I have this at the beginning of LocalScript:

local StarterGui = game:GetService("StarterGui")
local ResetButtonSuccess
while not ResetButtonSuccess do
	ResetButtonSuccess = pcall(StarterGui.SetCore, StarterGui, "ResetButtonCallback", false)

Expected Behavior

Since StarterGui:SetCore is wrapped inside a pcall, it should not stop with this error.

Actual Behavior

This script is 2 years old and this problem started today, a few hours ago.
When running the game in Studio, SOMETIMES the script stops with this error:


I have to keep restarting the game until this error no longer appears.

Issue Area: Studio
Issue Type: Other
Impact: Moderate
Frequency: Sometimes
Date First Experienced: 2022-08-16 16:08:00 (-03:00)


I am not able to reproduce the error in studio, even with testserver+clients.

I can’t reproduce either with a new project, but as I said, it started to happen today with this old project.
It’s very similar to Error: "GetCore: GetBlockedUserIds has not been registered by the CoreScripts", which seems to be fixed some days ago, but unfortunately, it seems to have been replaced by this new error…

1 Like
	local function disableReset()
		StarterGui:SetCore("ResetButtonCallback", false)

	if Configurations.CAN_RESET == false then
		while task.wait(1) do
			if xpcall(disableReset, disableReset) then

I have this as well for a while now and never really cared about it anymore

Thank you, but what’s the difference, since the problem reported has more to do with an improper interruption of Studio by an error, since the error generator is inside a pcall and therefore not Is it ok to have an interruption?

1 Like

We need a SetCoreRegistered event or callback

Thanks for the report! We’ll investigate.