What do I have to do after a match is over?

0

Hello, I do not quite understand what I have to do after finishing a match. Do I have to call ProcessEnding and then bring my complete server to the start state or is the instance completely closed?

Currently I terminate the connection to the clients, terminate the PlayerSessions and then call ProcessEnding.

But I get an error message on my fleet that looks like this:

SERVER_PROCESS_PROCESS_EXIT_TIMEOUT Server process failed to cleanly exit within 30 seconds of calling ProcessEnding()

질문됨 3년 전308회 조회
1개 답변
0

Hi @REDACTEDUSER

The recommended practice is to:

  1. Call ProcessEnding
  2. Verify the returned status is successful: https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-server-sdk-csharp-ref-actions.html#integration-server-sdk-csharp-ref-processending
  3. Terminate the process with a successful exit code, e.g. System.exit(0)
  4. GameLift process manager on the instance will spin up another process for you

Created a request to make this more clear in the docs

#GLIFT-15096

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠