Cloud Save

You can use Unity's Cloud Save service to save player data, such as game progress, inventories, or metadata. Because it's cloud based, players can access their data anywhere and across devices, which can mitigate data loss when a player changes devices or re-installs a game.

You can define who can read and write data in Cloud Save (for example, all players, a particular player, or only server side code) and you can read and write to it from Cloud Code, and even configure Triggers to run code when properties change.

In addition to storing player data, you can also store data that is not bound to any player, such as data for an NPC or the state of an item in the world, or to implement features such as guilds/clans, inventories, quest systems, achievements, auction houses.

Concepts

  • Player Data for player data
  • Game Data for non-player game data (e.g. NPCs, entities, game state)
  • Player Files for save game data in any format
  • Queries to make data stored in Cloud Save searchable
  • Cloud Code integration (For example, run Cloud Code Triggers when data changes.)
  • Access Classes allow you to control what data players can read and write

Get started

The Get started guide explains how to add Cloud Save to your Unity project.

The Unity SDK tutorial has examples of how to use Cloud Save with Unity.

Additional resources

Download the Unity Gaming Services Samples project to learn how to solve common game development challenges with Cloud Save: