Some things to try:
- Have you tried running the server process executable locally? If not, try following this guide (https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-testing-local.html) to do so. If the game is able to successfully heartbeat in GameLiftLocal and not crash, then proceed to the next steps.
- Check your install script (install.sh/install.bat) to see if there are any syntax errors. You can try running the install script on an linux/windows machine locally first, or spin up a small ec2 instance to do so. It's likely that your installer failed. We are working on providing an error log in the fleet event when that happens, so hopefully debugging this will be easier in the future.
Hi James, Thanks for your suggestions, let me try this and get back to you.
I tried to install ,
install.bat on my Windows machine, it is not doing anything.
I opened the file and there is only line in the file
vc_redist.x64.exe /q , how can I detect the root cause for this , since I have downloaded everything from the workshop only.
I will be very thankful if you could help me out here.
It's likely due to vc_redist.86.exe not being found in the windows PATH environment variable.
According to a later step in the lab on fleet creation, it says: "Check whether there are files GomokuServer.exe, aws-cpp-sdk-*.dll, config.ini, install.bat, aws-cpp-sdk-gamelift-server.dll exist on given folder bin/GomokuServer. Check whether vc_redist.x86.exe exists." See: https://aws-samples.github.io/aws-gamelift-sample/en/gamelift/lab44/
The project's README tells you to get it: https://github.com/aws-samples/aws-gamelift-sample. Though it defaults to Korean locale. Here is the English locale: https://www.microsoft.com/en-us/download/details.aspx?id=48145
Once you download vc_redist.x86.exe, make sure it is runnable, and put it in the same level in directory as the install.bat. However, if that doesn't work, maybe try using the absolute path, i.e.
Hey James, Thank you for your inputs and help, this worked, fleet is in Active State.
Great! Please let us know if you run into have any other issues.
Adding new answers, comments, and votes is disabled.
[Video Tutorial] Upload your Game Build to AWS GameLiftasked 3 years ago
GameLift and CloudFrontasked 5 months ago
Gamelift DescribePlayerSessions and synchronizationAccepted Answerasked 8 months ago
AWS GameLift and Graviton CPUs
Rust and AWS GameLift Server SDKasked 2 years ago
FLEET_INITIALIZATION_FAILED - GameLift
GameLift Support for Agones and Elastic Kubernetes Serviceasked 2 years ago
Logging and Monitoring with GameLift
GameLift Hosting for existing game
Unable to Compile Gamelift 3.2.0 UE4 4.18asked 5 years ago