Cross-Platform Game Backend: One Player Identity Across Engines


Accounts, linked logins, and shared progress for games that ship on more than one engine, store, or device.
A cross-platform game backend is the server-side system that gives each player one account, one save, and one economy wherever they play: a phone, a PC storefront, a console, or a second game built in a different engine. The engine renders the game. The backend owns who the player is. When identity lives on the server, a player can start on mobile, continue on Steam, and keep their progress, purchases, and friends, because every client resolves to the same account.
This Guide covers the identity side of that job: how accounts and logins relate, how account linking and account merges work, what cross-progression has to share, and the platform rules that shape all of it. For the general category, start with what a game backend is.
What is a cross-platform game backend?
A cross-platform game backend serves every client build of a game, and often every game in a publisher’s portfolio, from one set of services and one player database. Unity, Unreal, Godot, and native mobile clients all call the same APIs through their own client SDKs, so the server, not the engine, decides which account a player is signed into.
“Cross-platform” covers several features that players and platform holders treat separately. They build on each other in a fixed order:
| Layer | What the player gets | What the backend must provide |
|---|---|---|
| Cross-platform identity | One account that any of their logins can open | One account record with several linked identifiers |
| Cross-progression | The same level, unlocks, and save on every device | Progress stored on the server, keyed by that account |
| Cross-economy | The same wallet and inventory everywhere | A server-owned wallet and inventory, with each purchase validated by the store that sold it |
| Cross-platform social | The same friends, clans, and leaderboard rank | Social graph and rankings keyed by the account, not the platform ID |
| Cross-play | Matches with players on other platforms | Matchmaking across platform pools, where platform rules allow it |
Identity comes first. Cross-progression is impossible without it, and cross-play without shared identity means a player who switches device starts over with a new rank, friend list, and inventory. Cross-play itself is a matchmaking and architecture question, covered in our guide on how to make an online multiplayer game.
Why player identity has to live on the server
Publishers rarely ship one client. A live game adds a mobile version, a PC storefront, console ports, or a companion app, and a portfolio may run titles on different engines that share one account system. If identity lives inside each platform’s account or each engine’s save system, you get a separate player per storefront:
- Progress lost when a player changes phone or moves from mobile to PC
- Purchases that exist on one platform and are missing on another, and the support tickets that follow
- Analytics that count one person as three players, which breaks retention and revenue metrics
- A second backend per engine or platform, with duplicated server logic that drifts over time
A server-side account fixes all four. Each platform login becomes a key that opens the same account, and every engine client is a view of data the backend owns. The same design means adding a platform later is one more login type, not a player migration.
How do you run one player identity across Unity, Unreal, and Godot?
Treat the account and the login as two different things. The account is one record on the server with a stable player ID. Logins are identifiers that point at it: a device ID, an email and password, Sign in with Apple, Google, Game Center, Steam, Facebook, a console platform account, or a custom ID from your own identity service. Any linked identifier signs the player into the same account, from any client.
Two operations manage those identifiers:
- Authenticate signs a player in. The backend finds the account that owns the identifier, or creates one if none exists, and returns a session.
- Link attaches another identifier to the account the player is already signed into.
The engine does not change this model. A Unity mobile build, an Unreal PC build, and a Godot web build each authenticate with whatever login their platform offers, and each lands on the same player ID because those logins are linked to one account. Your server code, storage, and economy rules never need to know which engine sent the request. Engine-side networking is a separate decision; our setup Guides for a Unity multiplayer backend, an Unreal Engine multiplayer backend, and a Godot multiplayer backend cover the client side.
Keep the player ID internal. Never use a Steam ID, a console account ID, or an email address as the key for progress. Players change emails, platform IDs only exist on their own platform, and you will want to link more than one of them to the same person.

Device sign-in first, platform login later
Most live games start players with no login screen at all. The usual cross-platform game login pattern:
- Sign in silently with a device ID. Generate a random UUID on first launch and keep it in the app’s private storage. Don’t use an OS-provided identifier: its scope, reset behavior, and permitted use vary by platform, and privacy rules can restrict relying on it. A guest ID in app storage is also lost on uninstall, one more reason to prompt linking early.
- Link a platform login once there is something to lose. After a few sessions, a first purchase, or when the player opens the game on a second device, ask them to link Apple, Google, Steam, or another account. That linked login is what brings their progress to a new device.
- On mobile, try the platform first. Players already signed into Game Center or Google Play Games at the OS level can authenticate silently with that social ID. Then link the stored device ID so later launches fall back to the same account when platform auth is unavailable. If that device ID already belongs to a guest account with progress, the link conflicts: run the merge flow below instead of treating the link as a silent fallback.
Either order works when the link succeeds, because any linked identifier resolves to the same account. What matters is that no player reaches a second device with progress tied only to a device ID, and that a stored device ID that already owns another account goes through an explicit merge. Our mobile game backend Guide covers the store-specific side of mobile sign-in.
What happens when two accounts collide?
Account merges are where cross-platform identity gets hard. A common sequence: a player plays as a guest on their phone, later plays on PC with Steam, then links Steam on the phone. The Steam ID already belongs to the PC account, so the player now has two accounts with real progress.
A well-behaved game backend refuses that link with a conflict error instead of silently moving the Steam ID, because moving it would strand one save. Your game then resolves the conflict deliberately:
- Prove control of both accounts. Re-authenticate each login the player claims before you show progress details or move anything. A session that can look up the other account without that check could steal an identifier and strand the real owner.
- Identify the other account. Look up the account that owns the conflicting identifier without creating a new one.
- Decide what survives. Most games show a progress choice screen that compares both accounts (level, currency, key unlocks) and lets the player keep one. Some games merge on the server by rule instead.
- Transfer retained data in one authenticated server merge, then free the conflicting ID. Do not unlink an account’s last identifier first: that call fails and leaves the merge stuck. Run the transfer as a server-side operation the player has authenticated for, with locking, a transaction, or resumable steps so a crash or retry cannot duplicate entitlements or leave both accounts half-merged. That operation copies everything your merge policy keeps (especially validated purchases and entitlements) onto the survivor, then frees the conflicting ID: either delete the discarded account so the ID is freed in one step and link that ID to the survivor, or attach a placeholder identifier first and unlink/relink if you want to keep the discarded account around. Do not free the identifier until that merge has finished.
- Replace the session on the client, so the rest of the run uses the surviving account.
If you merge by rule, write the rules down per data type before launch:
| Data | Safer merge rule |
|---|---|
| Level, XP, unlocks | Keep the higher value, or the union of unlocks |
| Soft currency | Keep one account’s balance; summing both invites abuse |
| Purchased items and premium currency | Keep every validated purchase; never drop something a player paid for |
| Friends and clan membership | Union, then resolve duplicate clan seats |
| Leaderboard records | Keep the best record per board |
Three more guardrails keep merges safe. Never leave an account with no identifier, or nobody can sign into it again. Treat the merge itself as one authenticated, idempotent server path (not a chain of client-driven copy, delete, and link calls a retry can half-apply). And log every merge, because support teams will be asked about them.
Cross-progression: what to share and what stays per platform
Once identity is shared, decide what every client reads from the server. Shared by default:
- Profile and progress: server-side objects owned by the player’s account, with version checks so a stale write from an offline device can’t overwrite newer progress
- Wallet and inventory: changed only by server code, so no client can mint currency
- Social graph and rankings: friends, groups, and leaderboard records keyed by player ID
- Entitlements: a record of everything the player owns, whichever store sold it
Some data stays per platform even in a full cross-progression game: purchase receipts (validated against the store that issued them), push notification tokens, platform achievements and trophies, and the client version each device runs. Store these against the account, but don’t treat them as interchangeable.
LiveOps needs the same identity. If analytics and targeting key players by device, a player on three devices counts as three people in your segments and experiments. Key LiveOps data by the same player ID your backend uses.
Platform rules that shape cross-platform identity
Platform holders set rules your identity design has to follow. Four come up on almost every cross-platform launch:
- Login options on iOS. Apple’s App Review Guidelines (4.8) require apps that use a third-party or social login for the player’s primary account to also offer an equivalent login that limits data collection to name and email, lets players keep their email private, and doesn’t collect app interactions for advertising without consent. Sign in with Apple is the usual answer.
- Account deletion. Apple requires apps that support account creation to offer account deletion inside the app (guideline 5.1.1(v)), and Google Play requires an in-app deletion path plus a web link. With one cross-platform account, a deletion request from any platform removes the player everywhere, so say that clearly in the flow.
- Cross-platform purchases. Apple lets multiplatform games give players access to content and consumables bought on other platforms, provided those items are also available as in-app purchases in the iOS app (guideline 3.1.3(b)). Check every store’s terms before you design a shared premium currency.
- Consoles. Console platform holders set their own certification rules for authentication, cross-play, and cross-progression under their developer agreements. Plan console login as one more linked identifier, and confirm requirements with each platform early.
Mistakes that split player identity
- Using a platform account ID as the player ID
- Using an OS-provided device identifier for guest login
- Creating a fresh account whenever a new login appears, instead of offering to link it
- Letting a link silently move an identifier from one account to another
- Merging saves with separate client-driven copy, delete, and link calls instead of one idempotent server operation
- Running a separate backend per engine or platform
- Keying analytics and LiveOps targeting by device instead of player
Where Heroic fits
Nakama, our open-source game backend, implements this account model. In the Nakama authentication model, an account can hold several device IDs and one ID per social provider (Apple, Game Center, Google, Facebook, Steam, and more), plus email and custom IDs, and any of them signs the player into the same account. Linking an identifier that already belongs to another account returns a conflict instead of moving it, and Nakama won’t remove an account’s last identifier. The silent social sign-in guide walks through conflict resolution end to end.
- Engines and platforms: client libraries for Unity, Unreal, Godot, Defold, Cocos2d-x, JavaScript, C/C++, Java, Swift, and Dart, plus console SDKs for Unity and Unreal on PlayStation, Xbox, and Nintendo Switch for verified developers. Custom authentication connects other identity services.
- Shared progress and economy: storage with object ownership, permissions, and conditional writes, plus a virtual wallet with a transaction ledger that only server code can change.
- LiveOps on the same identity: Satori identities can use the Nakama user ID, so audiences, experiments, and live events see one player across platforms.
Wildlight Entertainment runs Highguard on Steam, PlayStation, and Xbox with Nakama for multiplayer, including matchmaking and player account management, on a dedicated Heroic Cloud instance (launch announcement). Spatial’s Wooster Games used Nakama to manage accounts, economy data, and authentication across platforms for Animal Company, including custom Meta Quest authentication (case study).
For publishers running several titles and platforms, Heroic Cloud is the managed path: dedicated resources, deployment on GCP or AWS across North America, Europe, and Asia, SOC 2 Type II, and player data that stays yours, on the same open-source Nakama you could self-host. If you are still comparing options, our guide to choosing a game backend scores engine fit, ownership, and scale.
FAQ
What is a cross-platform game backend?
How do you run one player identity across Unity, Unreal, and Godot?
Can mobile and PC games share one backend identity?
What is the difference between cross-play and cross-progression?
What happens when a player links a login that already has its own account?
Should a Steam or console account ID be the player ID?
Can players use currency bought on one platform on another?
Enterprise game backends
See how studios ship multiplayer at scale without rebuilding infrastructure.
Walk through Nakama and Heroic Cloud: org-level access control and managed ops without rewriting your stack. Book a demo to see it in action.
- SOC 2 Type II certified
- Proven at 2M concurrent users
- Dedicated capacity, no CCU limits
