I am running into a issue with my racing game utilizing server authority. I found When you play with people who are nearby, or at least in the same country the game functions as normal.
Here is how is looks normally:
However, I found when I player with a friend who is in Australia (I am in American) we get the following results:
Australian player was host of the server. You can’t tell by the video but when I am pressing left or right the inputs are slightly delayed. The Australian player is chopping on my screen, and I am smooth on my own screen.
For the Australian player he is smooth and has not input delay, and my vehicle is smooth as well.
Here I am the host (American) and we can see I am smooth and the Australian player is smooth as well. I also have no input delay.
On the Australians screen I am choppy, and he has input delay.
I want to note the collision for the vehicles is properly working, so server authority is doing it’s job. I just find it strange for players that are far away or out of the country playing with each other get these results.
Looks like a latency issue from the cars being too server controlled. Whoever is closest to the server gets smooth controls, but the player farther away feels delayed steering/throttle. The other car also looks choppy because its position updates are arriving late im assuming.
For a racing game, the driver’s client usually needs to control/predict their own car so it feels responsive. The server can still check stuff like speed, checkpoints, race state, collisions, and anti-cheat.
Thanks, though i still am not convinced that the cars is the since playing with players in the same region does not replicate this issue.
This bug was reported earlier and is similar to mine, though its dealing with simple player movement being delayed with players in different regions (west / east coast)
I think your explanation may have worked for previously built cars as they relied onthe client side, but mine doesn’t do that to work with server authority
Any update on this? I still can’t send you a DM with the place file, but it appears from the previous comment this can be reproduced on a empty template and the server authority example games
It was supossed to improve in 732 and I think it actually did I think its about the half of the delay? but it still has delay, even for localscripts it has delay for some reason
Heres a recent post about it
this post was before the annoucement of 732 though
It was slightly improved for low latency ideal network conditions at 240 fps but there are still constant rollbacks at higher latencies, it’s to the point where I wouldn’t be surprised if the patch was actually deferred and we’re just experiencing placebo.
Currently, server authority feels unstable and whereas staff used to respond to various server-authority-related threads nearly every day, they currently go radio silent for weeks at a time which makes it much less encouraging to invest your time in server authority atm. Which is a shame because it would be the next step in opening up the game towards competitive