# 从 Hathora 迁移

**利用我们为 Unity 和 Unreal 项目提供的免费集成支持** 并轻松迁移到我们可靠的托管服务。如果您依赖 Hathora 的托管服务，现在就是切换的时机。

## 🚨 Hathora 停服通知

{% hint style="danger" %}
Hathora 已正式宣布将在以下日期关闭其游戏托管服务： **2026 年 5 月 5 日。**\
**您必须在此日期之前选择并完成迁移路径。**
{% endhint %}

## 🚀 入门指南

鉴于 Hathora 即将在数周内关闭，评估替代方案以保持业务运行并防止对玩家群体产生负面影响已成为紧迫任务。Edgegap 的工程师和我们出色的开发者社区可提供集成支持，协助您应对这一紧张局面。

## 🗺️ 替换功能

审查并识别需要替换的 Hathora 服务和功能：

<table><thead><tr><th width="272">Hathora 功能</th><th>Edgegap 功能</th></tr></thead><tbody><tr><td>身份验证</td><td><p></p><p>可选地，添加细粒度访问控制：</p><ul><li><a href="/pages/6f9da0e6c31c7a483b63af1c186100316ca2f793#authenticate">对战匹配器 API 令牌，</a></li><li><a href="/pages/0a5645e84dbc0a67378f659ab24ef5120c1f6ab1#authenticate">服务器浏览器 API 令牌 + 联合身份，</a></li><li><a href="https://app.edgegap.com/user-settings?tab=tokens">自定义的自建会话管理（Edgegap API 令牌）</a>.</li></ul></td></tr><tr><td>托管 CLI</td><td><strong>无需 CLI！</strong> 使用我们的 <a href="https://app.edgegap.com/">控制面板</a> 或使用以下方式自动化构建 <a href="/pages/f70f02726ccb367367bcab745b779d4090078fc6">API</a>.</td></tr><tr><td>创建构建</td><td>尝试我们的快速入门工具 - <a data-mention href="/pages/5d7eee1c9c4d96459a4c97cb02b0b2e606d69d5d">/pages/5d7eee1c9c4d96459a4c97cb02b0b2e606d69d5d</a> / <a data-mention href="/pages/ac4ba735536ae20a1f8d43aa37c4ada42f5beb43">/pages/ac4ba735536ae20a1f8d43aa37c4ada42f5beb43</a>.</td></tr><tr><td>Hathora 大厅</td><td><ul><li>DevOps 与测试 - <a href="/pages/c56f68f9d811bf5942273c9ec0748d904b33ce1a#get-v1-status-request_id">部署状态 API</a>.</li><li>后端自动化 - <a href="/pages/5e7e2169ca3822647d4607dfc1d3487ebcc0836c#webhooks-and-postbacks">部署 Webhook</a>.</li><li>客户端集成 - <a href="/pages/0a5645e84dbc0a67378f659ab24ef5120c1f6ab1#search-and-browse">服务器浏览器 - 搜索与浏览</a>.</li></ul><p><a href="/pages/6f9da0e6c31c7a483b63af1c186100316ca2f793#group-up">组队进行匹配</a> 或 <a href="/pages/0a5645e84dbc0a67378f659ab24ef5120c1f6ab1#reserve-seats">在服务器浏览器中保留座位</a>.</p></td></tr><tr><td>舰队</td><td><a data-mention href="/pages/3c7cd8f1b8dc649268f6411b6023acc174fe28ee">/pages/3c7cd8f1b8dc649268f6411b6023acc174fe28ee</a> 与 <a data-mention href="/pages/cc707b0c52699c281a6b72f7ab1cfaac1a065dbb">/pages/cc707b0c52699c281a6b72f7ab1cfaac1a065dbb</a> 和 <a data-mention href="/pages/3c7cd8f1b8dc649268f6411b6023acc174fe28ee#overflow-to-cloud">/pages/3c7cd8f1b8dc649268f6411b6023acc174fe28ee#overflow-to-cloud</a>。<br>可在以后选择性添加，或默认使用 <a data-mention href="/pages/5e7e2169ca3822647d4607dfc1d3487ebcc0836c#match-bound">/pages/5e7e2169ca3822647d4607dfc1d3487ebcc0836c#match-bound</a> 云端。</td></tr><tr><td><p>主动缓存（专业版、企业版）</p><p>- 3 秒部署</p></td><td><a data-mention href="/pages/26d6dbbfe78b518cb1a2c18e767a1a5de69c506c#active-caching">/pages/26d6dbbfe78b518cb1a2c18e767a1a5de69c506c#active-caching</a> （按需付费）<br>- 在全球 615+ 个地点实现 0.5 秒级部署</td></tr><tr><td>Ping 服务（区域）</td><td><a data-mention href="/pages/fea37640fc5bc2487698c0fb8c374b7c38f4e249">/pages/fea37640fc5bc2487698c0fb8c374b7c38f4e249</a> （在特定引擎的 SDK 中自动化）</td></tr><tr><td>遥测（分析）</td><td><a href="/pages/5e7e2169ca3822647d4607dfc1d3487ebcc0836c#analytics">部署分析</a> 和 <a href="/pages/6f9da0e6c31c7a483b63af1c186100316ca2f793#analytics">匹配分析</a>.</td></tr></tbody></table>

## ⭐ 后端集成

确保您当前的游戏后端在迁移后能得到完全支持。Edgegap 为当前 Hathora 平台支持的所有游戏后端提供集成支持：

* [Epic Online Services](/zh/docs/tools-and-integrations/unreal-eos-lobby-integration.md), [2024 年 2 月的精选文章](https://onlineservices.epicgames.com/en-US/learning/launch-and-scale-your-multiplayer-game-with-epic-online-services-and-edgegap).
* [Playfab 桥接](/zh/docs/tools-and-integrations/playfab-bridge.md).
* [Unity Gaming Services](/zh/docs/tools-and-integrations/cong-multiplay-qian-yi.md).
* [Heroic Labs 的 Nakama。](/zh/docs/tools-and-integrations/cong-nakama-bu-shu.md)
* [Pragma - 联合案例研究。](https://pragma.gg/case-studies/soliton-backend)
* [Beamable。](https://edgegap.com/resources/partners/beamable)
* 自带自定义后端。

此外，Edgegap 还支持与以下平台的集成（包括但不限于）： [BrainCloud](https://edgegap.com/resources/partners/braincloud), [Loot Locker](https://edgegap.com/resources/partners/loot-locker), [Invokation Games](https://edgegap.com/resources/partners/invokation-games), [XSOLLA 后端](https://edgegap.com/resources/partners/xsolla), [Network Next](https://edgegap.com/resources/partners/network-next) 等等。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.edgegap.com/zh/docs/tools-and-integrations/cong-hathora-qian-yi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
