Reputation: 31
so in my game, I made another place in the asset manager. For some reason I cant teleport to it. It says teleport failed and in the console it says the place is not published. The game is published. And I dont think you have to publish places. I am using ReserveServer and TeleportToPrivateServer. I have tried to figure it out and my game IS published. Any help appreciated!
Upvotes: 2
Views: 2641
Reputation: 86
Have you tried testing it in an actual game setting instead of just roblox studio? Also make sure both games are public.
Edit: The games don't need to be public
Upvotes: 0
Reputation: 1382
You also have to publish the place inside of your place (asset manager) like so:
Step 1:
Open the place inside the asset manager by double clicking it:
Step 2:
Once you are inside the place (which is from the asset manager), then proceed to publish the place like so:
Summary: make sure to publish the place you have added/created in the asset manager
Upvotes: 3
Reputation: 93
I would suggest using the TeleportService:Teleport function, rather than TeleportAsync, if you need to teleport to a private server, I'd suggest just not using Async, as async teleport functions have had b
Here's a usage case:
game:GetService("TeleportService"):Teleport(123456, game.Players:GetPlayers()[1])
Arguments being place id, player. In TeleportToPrivateServer, which you would need if you're specifically teleporting to a private server (which you stated you were using, the usage case is
game:GetService("TeleportService"):TeleportToPrivateServer(placeID,code,player)
You likely already know this, but if you were missing something, or using the wrong variables, it could be a fix.
If that doesn't solve your problem, make sure:
Keep in mind, you can't teleport in Roblox Studio, so you should know it works if you get an error in the console stating you may not teleport in the roblox studio.
Upvotes: 0