SERVER_PROCESS_PROCESS_EXIT_TIMEOUT

0

I have an unreal engine game and after the game, I am calling ProcessEnd function from gamelift which terminate the session. However, During termination, the game is always throwing error below in event.

Server process failed to cleanly exit within 30 seconds of calling ProcessEnding(), launchPath(C:\game\sdrggr\Binaries\Win64\dghh-Win64-Shipping.exe), arguments(), instanceId(i-0170d0a06dd31432f), publicIP(35.1g.49.179), gameSessionId(arn:aws:gamelift:eu-central-1::gamesession/fleet-363f8cc4-fc5e-4401-b848-3cea72d23af8/gsess-1f4c83f7-59d4-4696-8da6-89fdb62be6d4)

Can someone help me solve this.

已提問 1 年前檢視次數 275 次
1 個回答
0

Hi IndieGameDeveloperFromParallelWorld,

The ProcessEnding() documentation says the following:

Notifies the Amazon GameLift service that the server process is shutting down. This method should be called after all other cleanup tasks, including shutting down all active game sessions. This method should exit with an exit code of 0; a non-zero exit code results in an event message that the process did not exit cleanly. Once the method exits with a code of 0, you can terminate the process with a successful exit code. You can also exit the process with an error code. If you exit with an error code, the fleet event will indicated the process terminated abnormally (SERVER_PROCESS_TERMINATED_UNHEALTHY).

You need to terminate the process within 30 seconds of calling ProcessEnding().

AWS
已回答 10 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南