Unity's plugin for Claude Code
Install and troubleshoot Unity's plugin for Claude Code to access Unity's first-party tooling within your Claude Code environment.
읽는 시간 4분최근 업데이트: 7일 전
Unity's plugin adds a set of Unity skills to Claude Code. After you install Unity's plugin, you can ask an agent to accomplish tasks in Unity in plain language instead of front-loading instructions to an agent with unnecessary extra context. Install the plugin, choose the scope that matches how you work, then verify that Claude Code loads the skills.
For a description of the skills and how to prompt them, refer to About Unity's plugin.
Install the plugin
You can install the Unity plugin for Claude Code in two ways: through the Claude Code command line interface or the Claude desktop app.
Install the plugin in Claude Code
To install the Unity plugin, run the following commands inside an active Claude Code terminal session (started by running in your terminal):
claude-
Add the marketplace:/plugin marketplace add Unity-Technologies/unity-agent-plugin
-
Install the plugin:/plugin install unity@unity-agent-plugin
Install the plugin in the Claude desktop app
To install through the Claude desktop app:
- Open the Claude desktop app.
- Go to the Plugins section.
- Select Browse.
- Search for . If you can't find it, add it to the marketplace by URL:
Unity- Select Add > Add marketplace.
- Enter .
https://github.com/Unity-Technologies/unity-agent-plugin - Select Sync.
- Select Install (+).
Choose a scope
During the installation, Claude Code asks you to choose a scope. Select the one that meets your needs:
- User scope: available in all your projects. Recommended if you work across several Unity projects.
- Project scope: shared with everyone who works in this repository. Recommended for a team standardizing on the plugin.
- Local scope: available to you, in this repository only.
To skip the scope prompt, run the install from your terminal and set the scope with . The command uses user scope by default, so pass this option only when you want a different scope. For example, to install the plugin for yourself in the current repository only:
--scopeclaude plugin install unity@unity-agent-plugin --scope local
Verify the installation in Claude Code
To verify that the plugin is active:
- Enter to display the list of Unity plugin skills in the slash menu.
/unity: - Enter to confirm that
/pluginis installed and enabled.unity
Update the plugin in Claude Code
Claude Code checks for plugin updates after your session starts and updates them in the background. When an update is available, Claude Code prompts you to run . Otherwise, the new version loads the next time you launch Claude Code.
/reload-pluginsAuto update is off by default for third-party marketplaces and on by default for official Anthropic marketplaces. To change it, refer to Configure auto-updates.
To force a refresh now:
/plugin marketplace update unity-agent-plugin
Limitations
The plugin has the following limitations:
- For simple uGUI work, the plugin makes little difference compared to doing it manually.
- On Sonnet 5, the plugin mainly supplies correctness. Sonnet 5 builds most Unity features without the plugin, but defaults to older approaches.
Troubleshooting
The slash commands aren't available in the Claude extension for VS Code.
/pluginIf you're using the VS Code extension, enter to open the plugin manager and install the plugin there. If you prefer to work from a terminal, open a Claude Code session and run the install commands. The terminal, the Claude desktop app's local sessions, and VS Code all read the same settings files, so a plugin installed at user scope in one environment is available in the others.
/pluginsIf you're in a terminal session and is still not recognized, your Claude Code version may be too old:
/plugin- Run .
claude --version - Update Claude Code. For detailed information, refer to Update Claude Code and Update manually.
- Restart your terminal and run again.
claude
-
Clear the plugin cache:rm -rf ~/.claude/plugins/cache
-
Restart and reinstall.
If you installed through the Claude desktop app and skills are still missing in Claude Code, run or start a new Claude Code session.
/reload-pluginsAdd the marketplace first, then retry the install. Refer to step 4 in Install Unity plugin in the Claude desktop app.
The plugin only ships skills and doesn't use a Model Context Protocol (MCP) server. Skills that control the Unity Editor run Unity CLI commands. For these commands to work, confirm the following:
- Unity CLI is installed on your machine.
- The Pipeline package is in your project. Run to add it.
unity pipeline install - Unity Editor is open.
Run to confirm the CLI can reach the Editor. To set up the separate Unity MCP server, run .
unity statusunity mcp configure