Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Amazon GameLift Servers Client SDK for Unity

Unity package for game clients integrating with Amazon GameLift Servers features. To set up, deploy, and manage Amazon GameLift Servers game server hosting for Unity games directly from the Unity Editor, see the Amazon GameLift Servers Plugin for Unity.

Features

Player gateway

Player gateway uses a relay network to route UDP traffic between game clients and game servers. This protects against DDoS attacks by validating traffic before it reaches game servers, hiding game server IP addresses from the public, and providing updated endpoints when relay endpoints become unhealthy. The client SDK provides the following to simplify using the player gateway feature:

  • PlayerGatewayConnector - Local UDP router that manages relay endpoints, player gateway tokens, and endpoint health tracking
  • Built-in algorithms - Fallback and predictive rotation algorithms for endpoint selection
  • Custom algorithms - Extensible interface for game-specific requirements

Player gateway integration guide

Ping beacons

Ping beacons enable clients to measure UDP latency to Amazon GameLift Servers locations. That latency data can be used with Amazon GameLift Servers to place players in the lowest-latency region. The client SDK provides the following to simplify using the ping beacons feature:

  • PingBeacons - Standalone utility for measuring latency to Amazon GameLift Servers ping endpoints
  • Parallel measurements - Measures all locations concurrently for fast results

Ping beacons integration guide

Repository structure

GameLiftClientSDK/             # UPM package (install this in your project)
GameLiftClientSDK/Runtime/     # Runtime scripts and bundled C# SDK source
GameLiftClientSDK/Docs/        # Integration guides
GameLiftClientSDK/Samples~/    # Sample demonstrating player gateway

Requirements

The following are the dependency requirements when using the client SDK:

  • Unity 2021.3 or later
  • Microsoft.Extensions.Logging.Abstractions

Getting started

Using the SDK in your game

See GameLiftClientSDK/README.md for instructions on integrating the SDK into your project.

Documentation

Feature Documentation
Player gateway Integration guide
Ping beacons Integration guide

Security

See CONTRIBUTING for information on reporting security issues.

License

This project is licensed under the Apache-2.0 License.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages