Let players sign in to Unity Gaming Services with their Steam account and upgrade an anonymous player to a linked Steam identity

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

Steps

  1. Install the Steamworks.Net SDK, set the app's Steam App ID, and obtain a session ticket via SteamUser.GetAuthTicketForWebApi with a fixed identity string
  2. Configure Steam as an ID Provider in Project Settings > Services > Authentication with the app's Steam App ID and Publisher Web API Key
  3. Call SignInWithSteamAsync(ticket, identity) to create a new Unity Authentication player or sign in an existing one linked to that Steam ticket
  4. To upgrade an existing anonymous player instead of creating a new one, call SignInAnonymouslyAsync first, then LinkWithSteamAsync(ticket, identity) on the cached player
  5. Handle AuthenticationException with ErrorCode == AccountAlreadyLinked when a Steam ticket is already linked to a different Unity Authentication player

Known gotchas

Related routes

Link a Steam identity to an Epic Online Services Connect account for cross-platform entitlement sharing
eos-connect · 5 steps · unrated
Implement 'Sign in through Steam' using OpenID 2.0 for web login
partner.steamgames.com · 5 steps · unrated
Set up Unity Gaming Services Cloud Save for persisting player data
unity.com · 6 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