文档

​
​

Development

User Acquisition

Monetization

工业

Multiplayer Services SDK

All Services

Multiplayer Services SDK

此页面不支持所选语言。
Multiplayer
​
​
Multiplayer Services SDK
  • Overview
  • Get started
  • Use multiplayer sessions
  • Manage sessions
  • Connect players through a relay
  • Networking
    • Ports and protocols
    • Locations and regions
    • Quality of service
    • Scaling
    • DTLS encryption
    • Advanced configuration
  • Matchmaking
  • Monitor and debug sessions
  • Tutorials
  • Reference
  1. Multiplayer Services SDK

Relay locations and regions

Explore the available Relay regions, and learn how to select the best one for your players.
阅读时间1 分钟
最后更新于 2 个月前

As a developer using Relay, you can allow players to select a Relay server from a list of available regions.
By selecting the closest Relay server, the player can minimize the potential latency and guarantee the smoothest possible experience for their session.
The following table has the Relay regions available across the globe:

Americas, Europe

Identifier

Location

us-east1
South Carolina
us-central1
Iowa
us-west1
Oregon
southamerica-east1
Sao Paulo
europe-north1
Finland
europe-central2
Poland
europe-west4
Netherlands

Asia, Australia

Identifier

Location

asia-southeast1
Singapore
asia-northeast1
Tokyo
asia-south1
Mumbai
australia-southeast1
Sydney

How region selection works

Typically, you don't need to specify a region in an allocation request:
  • The Multiplayer Services SDK defaults to using Quality of Service (QoS) measurements to select a region.
    • You can use
      WithRelayNetwork
      with
      RelayNetworkOptions
      to configure a region by name.
  • If you omit the region from the
    POST /v1/allocate
    HTTP request, the service uses the origin network address as a heuristic to pick a region.
  • If none of the previous are possible, the service defaults to
    us-central1
    .
Passing an explicit region identifier overrides this behavior. It's recommended you programmatically check this value against the region listing response and not hardcode any values.

Fallback for retired regions

Retired regions are not visible in the regions listing endpoint. Explicit requests to retired regions are automatically redirected to a replacement region; refer to the previous tables for mappings.

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Americas, Europe

    • Asia, Australia

    • How region selection works

    • Fallback for retired regions


报告此页面的问题