Unity integration · Accounts and progress

Mobile Game Backend Services: Decide What Must Survive a New Phone

Choose the online account and recovery promise before commissioning the integration.

A mobile game backend is the online part of a game that handles shared services such as player accounts and persistent progress. Before commissioning one, decide what a player should recover on a new device, what can happen offline, and who is allowed to change the stored result. Those decisions determine the integration work more clearly than a list of cloud products.

You may need no backend for an offline first release. You may need a managed platform connected to your Unity game. A custom service becomes worth considering when a documented requirement cannot be met reasonably through an existing platform. Each route brings different development and operating responsibilities.

This guide helps a project owner compare those routes within a Unity game development scope. It focuses on accounts and cross-device progress. The multiplayer commissioning guide covers the separate question of running and reconnecting to a shared match.

Two phones show the same expedition robot at different stages of a desert adventure, with a cloud connection and a paused connection between them.
Two devices show different progress in the same fictional game. The account and reconciliation rules must explain what happens when they reconnect.

Start with the player promise

Write a short statement of what should survive losing a phone. Is it the last completed chapter, selected appearance, settings, owned items, or all of them? “Save everything in the cloud” leaves important choices unanswered. Audio volume might belong to one device, while chapter completion belongs to an account. A temporary encounter may deliberately restart.

Decide when that promise begins. If the first session can start without registration, explain how its progress becomes associated with an account later. Specify the result when someone signs into an existing account after already playing locally. Importing, replacing and combining progress are different product decisions; a sign-in button does not select one for you.

The useful starting document is a small data list with an owner and a recovery expectation for each field. If all progress stays on one device, the local save system guide covers that delivery boundary. Adding account recovery changes the scope and should be visible in the proposal.

Compare the smallest suitable route

Route When it may fit Work that still needs an owner
Local-only first release The game can fulfil its promised experience on one device without account recovery or shared state Local persistence, installed-update behaviour and a clear explanation of what a lost device means
Managed backend integration An existing platform supports the required account, storage and access model Client integration, failure screens, data rules, environment setup, testing and account handover
Custom or extended service A specific rule, existing system or operating constraint cannot be met suitably by the managed route The additional implementation, deployment, data migration, monitoring and maintenance

A managed platform supplies capabilities; it does not make the player journey complete. Conversely, custom development is not automatically a better fit because it permits more choices. Ask the team to identify the exact requirement that justifies the additional work and who will maintain it.

An initial estimate should distinguish platform assessment from implementation. If the team has not reviewed the existing project, dependencies and account requirements, treat a precise migration or capacity promise cautiously. The first engagement can be a bounded assessment rather than an open-ended rebuild.

Two phones can hold two believable versions of progress

Consider a fictional expedition game. Both devices last saw chapter three completed. Phone A later completes chapter four and saves online. Phone B remains offline, changes an equipment selection and retains the older chapter-three snapshot. When B reconnects, replacing the entire online profile with its local copy would lose A's chapter-four result.

Choosing the device with the latest clock does not resolve the product question. The newer local edit may concern only equipment, and the other device's completed chapter may still be valid. A single “last saved” label hides that distinction.

One possible rule is that validated chapter completion only advances, while equipment selection requires a separate decision when its baseline is stale. That is an example to discuss, not a universal merge algorithm. A game with branching choices, consumable resources or an explicit reset can make “keep the highest value” incorrect.

For the first integration, ask the team to demonstrate this disagreement deliberately. Record the state both devices started from, the changes made independently, what the service accepted, and what the player sees after reconnecting. The decision should be understandable to the product owner before it becomes an invisible rule in code.

Unity Cloud Save offers a write-lock mechanism that can reject a write based on an outdated version of a data item. Its documentation distinguishes re-reading and resolving a conflict from bypassing that check. Detecting a stale write helps expose the disagreement; it does not decide how your game's progress should be reconciled.

Separate account identity from permission to change data

An account answers who a request belongs to. Permission rules answer what that request may read or change. Keeping the distinctions visible prevents the assumption that any signed-in client should be able to submit every value in its profile.

For example, Unity's Player Data access classes distinguish data that the owning player can write from protected data that the player can read but only a server can write. This is an implementation option to review against the game's needs, not a claim that choosing one setting establishes the security of an entire game.

Ask which changes are accepted from the device, which require server-side validation, and how rejected or unavailable requests appear to the player. Purchasing items, verifying store transactions and granting rewards need additional rules. The game economy guide owns those resource and transaction decisions; do not fold them into a vague cloud-save allowance.

Commission one complete recovery journey first

A useful first milestone follows a representative player through both devices. Start with a known account state, make a permitted change on A, then open B and show the intended result. Repeat with B temporarily offline and with a conflict. Use a non-production environment and synthetic profiles; real customer accounts are unnecessary for this review.

The demonstration should also show what happens when the service is unavailable. Can the player start a local session, view existing progress, wait, or only return later? A loading spinner without an exit or explanation is a product gap, even if the connection eventually succeeds.

Request the build identifier, environment, scenario and observed result with the delivery. A console message saying “saved” is weaker evidence than the second device displaying the committed state after reopening. Define unsupported cases openly, including whether simultaneous play, account switching or migration from an older release is outside the first milestone.

This bounded journey tests the chosen integration. It does not establish capacity for a public launch, resistance to hostile clients, or a complete recovery and support service. Those require separately scoped review and evidence.

Compare the quote and the obligations after launch

Separate the development estimate from the service's recurring charges. Ask which usage drives billing, who owns the provider account, who receives alerts, and what happens when an allowance is approached. Review the current provider terms for the actual project rather than relying on a copied free-tier table.

Check what is included in the integration price: the supported account flow, fields, offline states, conflict policy, platform environments, review devices and existing-data migration. An account feature that works only in a clean test project may need further work to enter your existing game.

At handover, the owner should have the agreed source, configuration, account access, integration instructions and known limitations. Ask how data can be exported and who would perform a future migration. Provider functionality, custom code ownership and ongoing operational support are separate responsibilities.

Post-launch events and configuration changes also need their own release controls. The Live Ops readiness guide explains that boundary without assuming a permanent managed-operations contract.

Bring an account requirement to the project discussion

Start with the player promise, the existing game and the one recovery journey you need implemented. Include target platforms, current sign-in or storage services, which data must survive a new device, and the offline behaviour you expect. Identify any production data that would need migration without sending private player records in an initial enquiry.

Upload For Software's Unity development service includes reviewing backend integration as part of an agreed project. We can first review the implementation boundary and the evidence a proposed work package should deliver; a specialist backend product or ongoing hosting service is not assumed.

Discuss your Unity project, or send the project scope on WhatsApp.