一个原生 DeepSeek Harness 插件,把 Unity 编辑器变成由智能体驱动的工作区:与编辑器对话、编写并挂载 C# 脚本、导入你的资产商店资源、运行测试与构建——全部通过 Unity 官方 `unity` 命令行工具完成。
DSH 适配
原生运行时
作者声明
安全审计
未审计
最后核验
2026-09-06
许可证
MIT
01它能帮你完成什么?
Build a complete Unity game from a natural-language brief inside DeepSeek Harness
A running Unity Editor project — scenes, attached C# scripts, imported assets, tests, and player builds
Game developers and teams using DeepSeek Harness who want an agent to drive the Unity Editor
Edit a live Unity project by talking — add GameObjects, attach components, write gameplay C#
Edited scene graph and attached scripts, with recompile waits handled automatically by the agent
Developers iterating on a live Unity project through conversation instead of manual clicks
Use your owned Unity Asset Store purchases inside the open project
Searched, downloaded, and silently imported `.unitypackage` assets into the running project
Developers who own Asset Store assets and want the agent to import them on Windows or macOS
02如何接入 DeepSeek Harness?
前置条件
- DeepSeek Harness 0.1.2-alpha.5 or newer (older versions are not supported)
- The `unity` command-line tool, installed, signed in, and with an activated license
- Unity 6.0 or newer installed through the Unity Hub (live Editor control requires Unity 6)
- Python 3.9 or newer (only needed for the Asset Store feature)
安装步骤
- 01
$ dsh plugin --profile <name> add @opdsh/unity-plugin
- 02
$ dsh --profile <name>
验证接入成功
- Run `dsh --profile <name> --dump-config` and look for the `# == unity-plugin` section to confirm the plugin loaded
03DSH 适配与能力边界
Native DSH plugin loaded by the dsh Loader (Node + browser halves); drives the Unity Editor over Unity's official `unity` CLI
Live Editor command (unity_command)
an Editor command name such as create_gameobject, get_scene_hierarchy, or save_scene→the live Editor command result as structured JSON
Every invocation passes `--non-interactive`, so a command that needs interactive input fails loudly instead of hanging the agentRun C# inside the Editor (unity_eval)
a C# snippet→C# executed with full UnityEngine and UnityEditor access inside the running Editor
Executes C# with full UnityEngine/UnityEditor access in the running EditorCLI passthrough (unity_cli)
any `unity` CLI subcommand (projects, open, pipeline install, templates, editors, test, build, auth, license, logs)→raw CLI output for long-running builds and tests
Spawns one CLI process per call; long builds and tests stream raw outputUnity official skills bundled
the bundled Unity-Technologies/skills collection→unity-cli, new-unity-project, build-live-game, UI, package management, physics, optimization, multiplayer skills
Downloads Unity's official skills once per ref into the dsh cache; a failed download falls back to an existing cache
04适合谁?何时不该用?
适合
- Game developers and teams using DeepSeek Harness who want an agent to drive the Unity Editor
- Developers iterating on a live Unity project through conversation instead of manual clicks
- Developers who own Asset Store assets and want the agent to import them on Windows or macOS
不适合
- The Asset Store import feature works on Windows and macOS only; Linux is not supported yet.
05兼容性、维护与安全提示
- The Editor command set is discovered at runtime; the plugin does not pin or validate per-command parameter schemas.
- The Asset Store import feature works on Windows and macOS only; Linux is not supported yet.
- `unity_cli` starts one CLI process per call by design; only the four live-Editor tools share the warm session.
- An open Editor holds a Unity license seat until it closes.
readme_verified
06常见问题
如何安装 unity-plugin?
把它加入你使用的 DeepSeek Harness 配置档:运行 `dsh plugin --profile <name> add @opdsh/unity-plugin`,再运行 `dsh --profile <name>`。用 `dsh --profile <name> --dump-config` 确认加载,查找 `# == unity-plugin` 段落即可。
智能体在 Unity 编辑器里能做什么?
它可以创建工程与场景、添加 GameObject 与组件、编写并挂载 C# 脚本、通过 `unity_eval` 执行 C#、导入已拥有的资产商店资源、截屏、进入 Play 模式、运行测试并启动玩家构建。
需要 Unity 许可证吗?
需要。`unity` 命令行工具必须已安装、登录并激活许可证——用 `unity auth status` 与 `unity license status` 检查。实时编辑器控制要求通过 Unity Hub 安装 Unity 6.0 或更新版本。
智能体能用我的资产商店已购资源吗?
可以,但仅支持 Windows 与 macOS。智能体会用你的 Unity 账号登录,搜索“我的资源”库,下载 `.unitypackage` 并无提示导入到当前打开的工程。Linux 暂不支持。
需要哪个版本的 DeepSeek Harness?
需要 DeepSeek Harness 0.1.2-alpha.5 或更新版本,旧版本不受支持。该插件由 dsh Loader 作为原生插件加载(含 Node 与浏览器两部分)。
07相关的 DSH 工作流
dsh-routing-suite
作者 yjh051108
DeepSeek Harness(dsh)路由套件:先装运行时注入器,再加载任务感知的推理模式路由预设(已实测 P1-P23)。
brooks-lint
作者 hyhmrright
基于 12 本经典工程书籍的 AI 代码评审工具,提供腐化风险诊断、书籍引用、严重度标签及 6 种分析模式。
oh-dsh
作者 hust-open-atom-club
一套 DSH runtime,Desktop、Web 与 TUI 三种开发体验。
perfect-web-clone
作者 ericshang98
网页像素级克隆工具:粘贴 URL,即可得到一份精确测量还原的 Vite + React 复刻页面。
08数据与来源
**Build Unity games with an AI agent.** This plugin connects [DeepSeek Harness]
dsh plugin --profile <name> add @opdsh/unity-plugin
页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-09-06。发现错误?提交更正。
最佳 DeepSeek Harness 插件
从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。
