Set up Unity Gaming Services Cloud Save for persisting player data

domain: unity.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. In the Unity Dashboard, link your project to Unity Gaming Services and enable the Cloud Save service for the target environment (Development or Production).
  2. Add the com.unity.services.cloudsave package to your Unity project via Package Manager.
  3. Initialize UGS at runtime with await UnityServices.InitializeAsync() and sign in using Unity Authentication (e.g., await AuthenticationService.Instance.SignInAnonymouslyAsync()) before making Cloud Save calls.
  4. Write player data with await CloudSaveService.Instance.Data.Player.SaveAsync(new Dictionary<string, object> { { "key", value } }) — values are serialized to JSON automatically.
  5. Read data with var results = await CloudSaveService.Instance.Data.Player.LoadAsync(new HashSet<string> { "key" }) and deserialize with results["key"].Value.GetAs<YourType>().
  6. To store public data readable by other players, use CloudSaveService.Instance.Data.Player.SaveAsync on the Public data endpoint; default data is private to the owning player.

Known gotchas

Related routes

Persist and retrieve player save data across devices using Unity Gaming Services Cloud Save
docs.unity.com · 6 steps · unrated
Persist and retrieve player progression data using Unity Cloud Save and grant virtual currency with Unity Economy
unity.com · 6 steps · unrated
Resolve cloud save conflicts in Unity Gaming Services Cloud Save on session start
unity-cloud-save · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans