opdsh/unity-plugin
unity-plugin
DeepSeek Harness plugin: control the Unity Editor through the unity CLI
Install
npx @deepseek-ai/dsh plugin --profile <name> add @opdsh/unity-pluginRestart `dsh web` after install. Bundle APIs can change during the developer preview.
README badge
[](https://dshhub.dev/plugins/unity-plugin)Paste this into your README. The star count updates with every catalog sync.
From the README
Excerpt from opdsh/unity-plugin, cleaned of badges and images.
English | 中文
Unity Plugin for DeepSeek Harness
Build Unity games with an AI agent. This plugin connects DeepSeek Harness to the Unity Game Engine, so you can describe what you want in plain language and the agent does the work inside the Unity Editor: creating projects, building scenes, writing and attaching C# scripts, importing your Asset Store purchases, running tests, and producing builds.
It talks to the Editor through Unity's official unity command-line tool, so everything happens in a real, running Editor and stays in sync with what you see on screen.
What you can do
- Start a game from scratch. "Create a new 3D project called SpaceRunner using the URP template" and the agent picks the template, creates the project, and opens the Editor.
- Build scenes by talking. Add GameObjects, position them, attach components, wire up prefabs. Scene commands round-trip in well under a second with no recompile.
- Write gameplay code. The agent creates C# scripts, waits for the recompile, and attaches them to the right objects. It can also run C# directly inside the Editor for anything that has no dedicated command.
- Put your Asset Store library to work. The agent can search the assets you own on the Unity Asset Store ("My Assets"), download them, and import them straight into the open project. See Using your Asset Store assets.
- See and test the result. Take screenshots of the Scene view, enter and exit Play mode, run EditMode and PlayMode tests.
- Ship it. Kick off player builds for your target platform.
- Learn from Unity's own playbooks. The plugin bundles Unity's official agent skill collection (UI, physics, optimization, multiplayer, package management, and more), so the agent follows Unity best practices instead of guessing.
Prerequisites
Before installing, make sure you have:
-
DeepSeek Harness 0.1.7 or newer. Older versions are not supported.
-
The
unitycommand-line tool, installed, signed in, and with an activated license. Check with:unity auth status unity license status -
Unity 6.0 or newer installed through the Unity Hub. Live control of the Editor requires Unity 6.
-
Python 3.9 or newer (only needed for the Asset Store feature; no extra packages required).
Each project you want the agent to drive needs the com.unity.pipeline package. You do not have to add it by hand: the agent can install it for you, or you can run it once yourself:
unity pipeline install --project-path /path/to/MyGame
Install
Add the plugin to the DeepSeek Harness profile you use:
dsh plugin --profile <name> add @opdsh/unity-plugin
dsh --profile <name>
That's it. Start the harness and ask the agent to make a Unity game.
Other install sources (GitHub or a local checkout)
dsh plugin --profile <name> add github:opdsh/unity-plugin # from GitHub
dsh plugin --profile <name> add /path/to/unity-plugin # local checkout
Installing from GitHub builds the package on install, which pnpm blocks until the package is allowlisted. If the first attempt fails with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED, add this to the profile's pnpm-workspace.yaml and run the command again:
onlyBuiltDependencies:
- "@opdsh/unity-plugin"
…
