aws / amazon-gamelift-plugin-unity

The Amazon GameLift Plugin for Unity contains libraries and native UI that makes it easier to access GameLift resources and integrate GameLift into your Unity game. You can use the GameLift Unity Plugin to access GameLift APIs and deploy AWS CloudFormation templates for common gaming scenarios.
https://aws.amazon.com/gamelift/getting-started/
Apache License 2.0
77 stars 16 forks source link

Terminate game session after the game session is inactive #38

Open xmiao2 opened 2 years ago

xmiao2 commented 2 years ago

Currently, the game server doesn't terminate the game session when all players exit, effectively means that the instance cannot start new game session since our instance by default only runs a single process.

gabetoth-alder commented 2 years ago

Detect if the session is empty then stop it, Gamelift will restart it.