Hey we are currently integrating Gamelift into our UE4 project. Our game is session based and will shutdown its process manually when the game is finished. We are currently using UE4 shutdown method:
It seems that this is not the proper way as we get these events in the gamelift console:
SERVER_PROCESS_TERMINATED_UNHEALTHY - Server process exceeded 3 minutes without reporting healthy
Also it seems that the lambda OnTerminate is not beeing called (Which is most likley the cause for the UNHEALTY event).
My question is: What is the proper way to shutdown our dedicated gamelift server?
Is it by calling TerminateGameSession?
Or should I call