question

Nicholas Maxey avatar image
Nicholas Maxey asked

First run of game server connection issue

Hello! We are currently working on a game in Unity using Mirror and Playfab to handle our networking.

We are running into an issue where the first time we try to connect to the server, the matchmaking is successful and the clients are loaded into the scene but they are disconnected.

We recycle the server and try again and the clients are able to connect and play no problem.

We do not find any error messages in the logs that would lead us to this issue.

Any thoughts on how to fix this?

apis
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

You could try creating a log file in your server build that records all activity from the exe launch to the first connections, then redeploy your server build to see if you can reproduce the issue and get the log file.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.