Using UE4 and Gamelift, It only gives me an SDK Timeout error?
No Matter which configuration I use, including having all the install.bat files located in the root folder, the fleet just states, " Server process started correctly but did not call InitSDK() within 5 minutes ". I have had this error on both the Win64 .exe and the one located in the main folder.
Any help would be greatly appreciated!
Edit: After an hour of waiting for the SDK to be called, the console showed "Server process exited without calling ProcessEnding(), exitCode(3)" I am just legit lost and would appreciated any help!
Basically your server process is crashing or somehow failing to progress to the point it calls InitSDK.
One very likely scenario is you failed to package your build correctly so its failing to launch.
On Unreal you want to (its been a while so this may be outdated) use the Win64 executable and not the root exe as thats just a wrapper (C:\game\MyServer\Binaries\Win64\MyServer.exe) - which it sounds like you are doing.
Make sure your install.bat has the VS redistributables setup and the path is correct etc (you can download the install.bat logs from the fleet event page in GameLift)
Then I would: a) test your build folder with GameLift local before upload b) create a new fleet with the debug ports open for RDP (can't adjust fleet ports on fleets which aren't ACTIVE or in ERROR) c) remote into the instance trying to launch and check the server logs on the box. You can do this as soon as the instance is attached to your fleet d) if no logs, then try just manually launching the server to see if you are missing DLLs.
Some useful links:
Thanks for the update.
Did you check your server logs on GameLift EC2 instance? Did you try manually launching the server on the instance to ensure that it launches correctly?
If you are unable to check the logs, please provide your fleet id and region and the GameLift team should be able to take a look for you.
Relevant questions
Using UE4 and Gamelift, It only gives me an SDK Timeout error?
asked a year ago.NET 5 Server App on GameLift?
Accepted Answerasked a year agoPlayerSessionIds only accepted sometimes by gamelift server
asked 3 years agoBuilding the GameLift Server SDK plugin for Unreal Engine versions greater than 4.21
Accepted Answerasked 2 years agoServer works with Gamelift-local, breaks on fleet activation
asked 3 years agoIs there a way to modify the existing server executable files in a running fleet?
Accepted Answerasked 2 years agoWhen building gamelift fleet with install.sh at correct location get this error: Cannot run program "/local/game/install.sh" (in directory "/local/game"): error=2, No such file or directory
asked 25 days ago[UE4] Fleet Error, instance Cannot Load Gamelift DLL
asked 4 years agoConcurrent writes to the same folder on an S3 bucket using the JavaScript SDK v2
asked a month agoDebugging FAILED status in Fleet
asked 2 years ago