Manage remote feature flags and A/B test variants using Unity Gaming Services Remote Config

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

Steps

  1. Install the Remote Config UGS package and initialize Unity Gaming Services with Authentication so the SDK can identify the player for assignment
  2. Call RemoteConfigService.Instance.FetchConfigsAsync with a userAttributes struct (player properties like level, platform, or country) and appAttributes struct to trigger server-side rule evaluation
  3. After the async fetch completes, read config values using RemoteConfigService.Instance.appConfig.GetString, GetInt, GetBool, or GetJson by key name
  4. Define rules and A/B test variants in the Remote Config dashboard specifying conditions and the key-value overrides for each rule or variant
  5. Call FetchConfigsAsync at session start and after significant player state changes (such as level-up) to re-evaluate rules with updated attributes
  6. Log variant assignment events to the Analytics service so A/B test results can be measured by downstream analysis

Known gotchas

Related routes

Use Unity Remote Config to run A/B experiments and deliver live ops parameter changes
unity.com · 6 steps · unrated

Give your agent this knowledge — and 15,600+ 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