On Basketball Zero, we use a “custom server” mechanism for private servers; players get teleported to a subplace when they join a private server, which lets us have a different player count for things like tournament settings where we need more players than normal in a game server.
As part of this, you will be teleported to a reserved server when you join the PS, however we notice that for some players they can crash during this, and for me specifically I actually crash a lot when trying to join them. Eventually I can actually get in, but it takes a few tries. The crash is a simple freeze and close kind, so no error message is produced.
If the teleport takes a couple seconds longer, or happens after being in the game after a while, there is no issue. This is specifically if you’re rapidly teleported when you join the game.
I personally experience similar behavior on other games that do the same thing.
I found this bug report from 2024 with a similar issue:
The game crashes in the exact same way, however that occurred during any teleport. This is just when you’re teleporting quickly at the start.
I’ve been trying to replicate this on my own. I have a few questions:
Would you mind sharing me your code for the teleport and where you’re running the script?
How soon are after game start are you starting the teleport? It does take a bit of time for the Players object to load, from some experimentation I’m seeing around 1.5 seconds. Could you add a log line before the teleport to make sure the players look right?
You mention reserved servers, is this only happening for reserved server teleports or all teleports?
If this is still happening and you can send me a recent client log, I’d love to take a look! I tried recreating this in your experience by joining on a private server, but wasn’t able to recreate.
I would recommend adding a ~2 second buffer right after the game starts to allow it to fully load the data model. But would love to understand your situation to help improve the error messaging and avoid client crashes.
Thanks for the response! We made some recent improvements to reserved server teleports as well, which should mitigate this issue. If the new team does notice any issues, around this, feel free to reopen the issue. Thank you!