Hi everyone, I recently uploaded a simple Unreal Engine 5 Early Access default project build onto GameLift, created a fleet, and was able to get clients to connect to server processes running on the instance in the fleet via hardcoded IP addresses and ports just for testing purposes. However, I noticed that when I manually scaled down the fleet’s instances, I get a SERVER_PROCESS_FORCE_TERMINATED event with the message “Server process did not cleanly exit within 30 seconds of OnProcessTerminate(), exitCode(139)…” for every running server process in the fleet.
onProcessTerminate callback function in the
ProcessParameters object passed to
ProcessReady is defined, and that callback function calls
ProcessEnding and cleanly shuts down the server using the Unreal
FGenericPlatformMisc::RequestExit(false) function afterwards. It has been a little while since I’ve played with GameLift so I’m not sure if Unreal Engine has changed or if I’m doing something else wrong. Note that this happens with both Windows and Linux builds of the same project uploaded to GameLift.
For debugging purposes, here’s a fleet id: fleet-fa5303b3-6e88-4a54-a67e-a4f789de3ea0
Thank you to anyone who responds in advance!