Note To Myself:

Post the following to Platform Feedback - Engine Bugs when the Post Approval ‘renovation process’ is finished.


Title: TeleportService::TeleportToSpawnByName does not provide join data to the destination place

Thread: Upon teleporting using TeleportService::TeleportToSpawnByName, running Player::GetJoinData in the destination place returns an empty table.

Code:

game:GetService("Players").PlayerAdded:Connect(
    function(Player)
		local JoinData = Player:GetJoinData()
		print("GetJoinData table:",JoinData)
		print("Table entries:")
		for i,v in pairs(JoinData) do
			print(i,v)
		end
    end
)
  • Using the aforementioned function:
    image
    No table entries printed to the console.

  • Using TeleportService::Teleport:
    image

As a side-note, perhaps this function should be deprecated anyways. Referencing a SpawnLocation's name from across places seems a bit anachronistic and is also entirely possible without needing its own function.

1 Like