aws / amazon-gamelift-plugin-unreal

The Amazon GameLift Plugin for Unreal contains libraries and native UI that makes it easier to access GameLift resources and integrate GameLift into your Unreal game. You can use the GameLift Unreal Plugin to access GameLift APIs and deploy AWS CloudFormation templates for common gaming scenarios.
https://aws.amazon.com/gamelift/getting-started/
Apache License 2.0
32 stars 18 forks source link

Update non-binary files of server SDK to v5.1.0 #14

Closed forkercat closed 11 months ago

forkercat commented 11 months ago

Description of changes:

This PR updates the non-binary files (cpp headers, text files) of server SDK to v5.1.0. Note that the server SDK binaries are already up to date.

Server SDK v5.1.0 change log:

  1. Add InitSDK() API with no parameters. This API reads server parameters from environment variables, such as fleet ID, compute name, WebSocket URL, process ID and auth token. This API simplifies SDK initialization in Amazon GameLift managed EC2 fleets. For initialization in Amazon GameLift Anywhere fleets, call InitSDK() with the ServerParameters parameter.
  2. Update ProcessReady() to retain a copy of FProcessParameters. This fixes segfaults that occur when Amazon GameLift C++ SDK attempts to invoke user callbacks after FProcessParameters is freed in memory.

Note that the latest version of Server SDK is v5.1.1. But the update in this PR can work with v5.1.1 since 5.1.1 just includes documentation update.

Testing:

In-Progress...

forkercat commented 11 months ago

Status: Testing is in progress for plugin installation, Anywhere, and Managed EC2 workflows.