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.

demandé il y a un an275 vues
1 réponse
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
répondu il y a 10 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions