Unity CLI 1.0 正式版发布,支持编码智能体与构建脚本
Unity CLI 1.0 leaves beta for coding agents and build scripts
Unity CLI 1.0 正式版提供稳定接口,便于编码智能体与构建脚本直接控制编辑器。
Unity announced at Unite Tokyo on November 17 that Unity CLI 1.0 and its local Pipeline package had left beta. A coding agent can use the CLI to check compilation and enter Play Mode in a running Editor. Build scripts get a stable interface for working with Unity from the terminal. The release notes date the 1.0.0 build to November 12 and 1.0.1 to November 16.
Connect an agent to a running Editor
At the keynote, Keijiro Takahashi showed Claude Code writing, compiling and playtesting a first-person puzzle prototype in Unity. The same local connection lets a team ask an agent to check whether a script change compiles before trying the next edit. Unite Tokyo keynote
The latest Unity Hub includes the CLI. For live control, open a project in Unity 6.0 or later, sign in and install com.unity.pipeline with unity pipeline install. Once the Editor has recompiled, unity pipeline editors lists connected instances, and unity command lists the actions the Editor offers. The unity setup command can install Unity’s official plugin for Claude Code, Codex, Grok Build or Google Antigravity. CLI announcement · Pipeline installation · CLI guide
Use consistent output in CI
The CLI uses a consistent JSON format for listings and streamed output, skips interactive prompts in CI and returns exit codes for conditions such as a busy Editor or a blocking dialog. unity build --target can build through the Editor that already has the project open. Unity says it will keep the command, flag and output interfaces compatible across 1.x releases. Unity CLI announcement
Unity’s separate cloud Pipeline API is still in beta with signups open. Unity plans general availability for 2027. Unite Tokyo keynote
Based on Unity’s release notes, documentation and keynote demo. No sponsorship or affiliate links.
来源:MakeGameWithAI · AI游戏开发动态 · makegamewithai.com