GetBlockedUserIds now always returns an empty array

Reproduction Steps:

  1. Run the following code (or similar code, making use of the “GetBlockedUserIds” core function) on the client:
local s, res = false, nil
repeat
	s, res = xpcall(function()
		return game:GetService("StarterGui"):GetCore("GetBlockedUserIds")
	end, warn)
	if not s then task.wait() end
until s
print("Blocked users:", res)
  1. Notice that no blocked users are being returned via the GetCore method.

I have not had the chance to test other related GetCore events; they may also be affected by this issue.

Expected behavior

I expect the blocked UserIds defined under my account to be returned in the array.

1 Like

It only returns UserIds of blocked users that are present in the current server.

1 Like

To my knowledge, previously it would return all blocked UserIds regardless of whether they were in the current server; so this is still potentially an un-announced change in behaviour?

1 Like

Probably somewhat related to this?

It’s strange though, since this change was set to roll out in weeks.

1 Like

That was posted yesterday, and I know that this has been the behavior of GetBlockedUserIds for quite a while.

I don’t know if GetBlockedUserIds has always worked like this or not, but that announcement seems unrelated.

1 Like