

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 為截止日期雲端建置 Epic Unreal Engine conda 套件
<a name="examples-conda-unreal-engine"></a>

[Unreal-engine](https://github.com/aws-deadline/deadline-cloud-samples/tree/mainline/conda_recipes/unreal-engine) conda 配方會建置 Epic Unreal Engine conda 套件。

與此儲存庫中的其他配方不同，此配方的設計是在*本機*建置於已安裝 Unreal Engine 的機器上。Unreal Engine 套件很大 (UE 5.6 在大約 80，000 個檔案中約為 20 GiB)，因此將它們作為任務連接提交到佇列是不切實際的。

若要使用配方：

1. 在 Windows 電腦上安裝 Unreal Engine。配方中的預設來源路徑是 Epic Games Launcher 路徑 `C:\Program Files\Epic Games\UE_5.6`。`recipe/recipe.yaml` 根據您的版本或自訂來源建置位置進行調整。

1. 安裝 [rattler-build](https://rattler-build.prefix.dev/) 並啟用 Windows 長路徑支援。

1. 建置套件並將其發佈到您的 conda 頻道：

   ```
   rattler-build publish {{path-to-recipe-file}} --to {{publish-conda-channel}}
   ```

配方 README 包含step-by-step指示，以將其調整為 Unreal Engine 版本，包括自訂來源建置。

範例儲存庫也包含 [unreal-engine-openjd](https://github.com/aws-deadline/deadline-cloud-samples/tree/mainline/conda_recipes/unreal-engine-openjd)，這會建置 Unreal Engine Open Job Description 轉接器，搭配適用於 Windows 和 Python 3.13 的 rattler-build。