文档

​
​

Development

User Acquisition

Monetization

工业

Unity Production Pipeline

Unity Dashboard

Unity Automation

Unity Editor

Unity Studio

Open Unity Dashboard

Unity Production Pipeline

此页面不支持所选语言。
​
​
Unity Production Pipeline
  • Unity Production Pipeline architecture
  • Getting started
  • Pipeline APIs
  • Local tools
    • Unity CLI
    • Unity Pipeline package
    • Compare the tools
  • Unity Production Pipeline web
  1. Unity Production Pipeline (beta)
  2. Local tools and Unity CLI

Unity Pipeline package

Control the Unity Editor remotely through a local HTTP API to automate builds, tests, and development workflows.
阅读时间2 分钟
最后更新于 1 个月前

Use the Unity Pipeline package to control the Unity Editor remotely through a local HTTP API. Use it to integrate the Unity Editor with CI/CD pipelines, automate testing and development workflows, and execute custom commands from the Unity CLI.

Prerequisites

Before you start, make sure you meet the following prerequisite:
  • Install the Unity Editor version 6.0 or later
  • Install the Unity CLI

Install Unity Pipeline package

To install the Unity Pipeline package:
  1. Close and reopen your terminal after you install the Unity CLI.
  2. Open your project in the Unity Editor.
  3. Open a Terminal window (macOS) or Powershell (Windows).
  4. Run
    unity auth login
    to sign in.
  5. Run
    unity pipeline install
    to install the Unity Pipeline package and its dependencies. By default, the command targets the current directory or the running Editor instance.
  6. Return to the Unity Editor and wait for the project to recompile with the new Unity Pipeline package
  7. In the terminal, run
    unity pipeline list
    to verify the installation.
Verify that Pipeline: Installed appears, as shown in the following screenshot.
Terminal output from the unity pipeline list command, reporting one running Unity Editor instance with Pipeline: Installed and the server connected on port 7800.

Unity Pipeline package is successfully installed

Connect to a running Unity Editor

After you install the Unity Pipeline package, connect to a running Unity Editor to view the available commands.
  • To automatically discover a Unity project from the current directory, run
    unity command
    .
  • If you have more than one Unity Editor instance open, run
    unity command --project-path=<path-to-your-project>
    to connect to a specific Unity project.
You can now view the available commands.
Terminal output listing numbered Unity Editor commands such as eval and eval_file with their parameters, followed by usage syntax and examples.

Pipeline command list

Learn more about Unity Pipeline package

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

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

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

  • 在本页上
    • Prerequisites

    • Install Unity Pipeline package

    • Connect to a running Unity Editor


报告此页面的问题