- Newest
- Most votes
- Most comments
Hello,
As conveyed by Jackson , CreateBuild API has request parameters 'OperatingSystem' and 'ServerSdkVersion' to specify the operating system that your game server binaries run on and a server SDK version you used when integrating your game server build with Amazon GameLift.
Please note that, by default Amazon GameLift sets the value of ServerSdkVersion to 4.0.2. Though, the OperatingSystem parameter has no default value. You can't change a build's operating system later.
> CreateBuild - https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateBuild.html#gamelift-CreateBuild-request-ServerSdkVersion
CreateBuild operation requires build files that are in an Amazon S3 location under an AWS account that you control.
The 'file not found error' you are later receiving can be due to inaccurate S3 object location or no access to the S3 resources for the IAM role attached to GameLift service.
The UploadBuild call creates a new build record in Amazon GameLift and uploads files from a location that you specify.
> Upload a custom server build - https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-cli-uploading.html
If you face any issues, please do update it here so that we can help you resolve it.
Hope this helps.
No that's the problem. When i set linux 2023 and sdk 5.1.1 property in create build it gave me " file not found" error instead
Have to use Linux_2 instead, or I can't create builds.
The CreateBuild API has a property for specifying which version of the Amazon GameLift server SDK you are using: https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateBuild.html#gamelift-CreateBuild-request-ServerSdkVersion
Hope that helps!
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 12 days ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 7 months ago
"File not found" is a different error and a different problem. Are you using create-build or upload-build? CreateBuild requires you to provide an accurate S3 object location in your account as well as a GameLift service IAM role to access said S3 resources. UploadBuild requires you to provide an accurate path to the directory you wish to upload.