question

Travis Lange avatar image
Travis Lange asked

When / how does a game server get terminated or moved back to "sanding by"?

We started up 2 game servers via match making and connected players in a Unity build. The players then left and the player count is 0. Should I be calling Application.Quit()? Is there an API call I am supposed to make? Maybe via one of the SDKs? The 2 servers have just been sitting in the active state for a while. How am I supposed to be handling this?

unity3dsdks
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

·
brandon@uprootstudios.com avatar image
brandon@uprootstudios.com answered

You’re supposed to shutdown the server (Application.Quit()) when all players have disconnected and/or you’re done with the server and want to release it back to PlayFab for StandBy

1 comment
10 |1200

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

Travis Lange avatar image Travis Lange commented ·

Awesome thanks!

0 Likes 0 ·

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.