The ownership service is not available

Despite the new Gamepass changes going live, when I use the “:UserOwnsGamePassAsync()” function it instantly errors both on studio and in-game saying that “The ownership service is not available.” Is this a bug from the Gamepass changes or is it something I’m doing wrong?

4 Likes

Does it work in a server?

And yeah someone else I know had this issue too

Nope :confused:

1 Like

Was able to reproduce in both studio and on a game server just using this simple code:

local mp = game:GetService("MarketplaceService")
local function plrAdded(plr)
	print(mp:UserOwnsGamePassAsync(plr.UserId,1918309))
end

game:GetService("Players").PlayerAdded:Connect(plrAdded)
for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
	plrAdded(plr)
end
2 Likes

Move this to bug reports :wink:

1 Like

I’m having the same issue

Should be fixed!

4 Likes