TeleportService.TeleportAsync doesn't work after a shutdown has been performed

I just shutdown the servers and SoftShutdown did not work. Same thing, error message with “Leave” and “Reconnect”.

Happened 12AM PST to place id 13730658693

@SuperPat77

2 Likes

Still having this issue in my game unfortunately.

1 Like

I just tested (game ID 7471506079) and it is working fine again. Thank you so much!!!

1 Like

Looks like half the people here have the issue fixed and the other half don’t. @sicknoobie @SirMing @MrDaveyDoesStuff could you provide your BindToClose code and how you tried testing so we can see if we can reproduce the issue on our end? The examples posted in this thread so far all work for us. Private messages to me are fine if you don’t want to share your code publicly

2 Likes

I’m using the exact same code that the original poster used (SoftShutdown2). When clicking migrate to all servers, it kicks everyone and says “Player has been removed from the DataModel” for everyone after 5 minutes has passed. I want it to instead take all players to temporary servers then take them back to the updated servers in the main game. No kicking players out should be involved. Using Shut Down All Servers kicks everyone out with the same message.

it seems to depend on the time of day, how many people are in the game
etc.

when i tried it last night it worked now it doesn’t in the afternoon
again i used the same script from the SoftShutdown2.

1 Like

Bumping because the issue is still not fixed.

1 Like

Bumping this as well, been months without a fix

2 Likes

bumping again cuz damn… :sob: months alr

it works for me but i made my own version of softshutdown2

heres serverside script that worked for me (with 2 players one is my main acc second is my alt)

I didnt experience such issues like “Player removed from datamodel” or random disconnections. This worked for me perfectly.

local ts=game:GetService("TeleportService")
local plrs=game:GetService("Players")
local rs=game:GetService("RunService")
local function WaitForPlayersToLeave()
	if #plrs:GetPlayers()==0 then
		return
	end
	local leaved=Instance.new("BindableEvent")
	plrs.PlayerRemoving:Connect(function(p)
		if p.Parent==plrs then
			p.AncestryChanged:Wait()
		end
		if #plrs:GetPlayers()==0 then
			leaved:Fire()
		end
	end)
	return leaved.Event:Wait()
end
game:BindToClose(function()
	if rs:IsStudio() or #plrs:GetPlayers()==0 then
		return
	end
	plrs.PlayerAdded:Connect(function(p)
		pcall(function()
			ts:TeleportAsync(game.PlaceId,{p})
		end)
		p:Kick("This server has shutdown.")
	end)
	task.spawn(pcall,function()
		ts:TeleportAsync(game.PlaceId,plrs:GetPlayers())
	end)
	WaitForPlayersToLeave()
end)
1 Like

welp still is not working.
was working fine before now its not :frowning:

This is unfortunately still an issue when using the original source code.

1 Like

this also affects quentys soft shutdown, unfortunately still not fixed

1 Like

bumping this again because months later, 2024 already, and it still isn’t fixed :confused:

Anyone still experiencing this issue, could you please upload a recent client log that we can look into for debugging?

With the original script, what teleport errors in Lua are you seeing?

1 Like

Hey, I use the same softshutdown script.

I made 2 places, both have the softshutdown script. Although once I will shutdown the game it will just simply say “Player has been removed from the datamodel.”

It does the same with all softshutdowns I have tried yet