Using the AWS Cloud for Your next Unity 3D Game

Indie game developers are raised upon the various possibilities available in the developing mobile gaming market. But those gaming startups suffer numerous difficulties when creating and updating games. One recurring theme with mobile developers is necessary to seamlessly transition users among devices (smartphones,  consoles, tablets) and modify the game look and logic without using a full app update.

For this purpose, the AWS Mobile Development group newly declared the availability, in developer preview, of the AWS Mobile SDK for Unity. You can immediately create cross-platform applications that use AWS services with Unity. The SDK includes support for  Amazon DynamoDB, Amazon Cognito, and Amazon S3.

You can practice Amazon Cognito to securely reach your AWS sources as well as synchronize and save the application state over devices. This blog sample and post discuss how to utilize Amazon Cognito to sync, store saved games in the cloud, and cache them on the local machine over all of a user's devices. 

DynamoDB is a flexible NoSQL database that gives consistent, single-digit millisecond latency at any scale. DynamoDB helps you save data that your game needs to share across multiple users, such as a top score table and a shared assets list.

Although DynamoDB isn't your alone option. When your game relies on large, often changed assets, you can utilize Amazon S3 to save these data in the cloud and then regain them from your game at run time. It serves you to update the assets in your game without having to issue a complete update for the app stores. 

The AWS Mobile SDK for Unity is compatible with Unity 4.0 and supports and onward both pro and free versions. The SDK is currently accessible in developer preview; the development crew will perform improvements based on feedback. So be certain to give your questions, problems, or ideas by the AWS SDK GitHub repository.

Here are some sections to get you started:

  • AWS Mobile SDK concerning Unity
  • Unity Getting Started Guide

 by AWS Mobile SDK 

  • Begun with Amazon Cognito Sync
  • Begun with Amazon S3
  • Begun with Amazon DynamoDB

The SDK and the similar samples are open on the following GitHub GitHub repositories:

  • AWS Mobile SDK for Unity GitHub GitHub repositories
  • AWS Mobile SDKs for Unity Samples GitHub GitHub repositories