Hello, I am making a multiplayer game using Unity, mirror networking with kcp transport, and playfab. I recently uploaded a server build with a healthy status and clients are able to connect to the server just fine, although it takes about 10 seconds. Attempting to move the player object on the client can take up to 10 seconds before a response is seen. Also, other network objects are incredibly laggy. I am currently using the free playfab services and am only testing with 1 server active at a time.
When I host the game locally on my own pc, there is no lag at all.
What are the first things I should look to change to reduce this lag and make the game playable? I don't want to waste too much time waiting for different server builds to deploy.
,I made a multiplayer game on unity and I recently uploaded my server build to playfab and it has a healthy status. Clients are able to connect fine to the server, although it does take about 10 seconds. When I host the server locally on my own computer, there is no lag at all. On playfab however, networked objects are extremely laggy, and using cmd and rpc functions in order to communicate between client and server take about 10 seconds in total before and response is seen on the client. I am using mirror networking with kcp transport.
What are the first things I should look to change to reduce lag and make the game playable?
I don't want to waste too much time waiting for server builds to deploy.