AIgamer
Sign in
๐Ÿ Home๐Ÿ“ฐNews๐ŸงฐResources๐ŸŽฎGames๐Ÿ“˜Guides๐Ÿ†GOTW
๐Ÿ“ฐNews๐ŸงฐResources๐ŸŽฎGames๐Ÿ“˜Guides๐Ÿ†GOTW
Get the weekly emailSign in
AIgamer
๐Ÿ Home๐Ÿ“ฐNews๐ŸงฐResources๐ŸŽฎGames๐Ÿ“˜Guides๐Ÿ†GOTW
New storiesWeekly roundupsTopicsSubmit your gameHow we report
Get the weekly email

๐Ÿ†AI Game of the Week

WK 45

Sumiro

Play it

Made a game with AI? Submit it for next week

โœ‰๏ธWeekly email

The week's top stories and the AI Game of the Week, every Monday. Free.

๐Ÿ”ฅMost read this week

  1. 01Report: Unreal Engine 6 drops Blueprints and Actors, moving gameplay code to Verse
  2. 02Sumiro
  3. 03Pieter Levels ports the Battlefield 1942 demo to the browser with Claude Code
  4. 04Einsia benchmark tests 11 coding agent setups on Blender and Unreal Engine 5
  5. 05Holdout's GameDecider is a small local model that judges what players say
AIGamer: the front page for people making games with AI.
Weekly roundupsSubmit your gameHow we reportContactX (@aigamergg)PrivacySubmission terms

Home โ€บ Guides

Guide

How to use AI in Unity: the AI assistant, MCP servers and coding agents (2026)

Unity's AI assistant puts an agent and asset generators in the editor, and Unity's free CLI and plugin connect Claude Code, Codex and Cursor. What each costs, how to set it up, and how to let the agent test its work.

By Hitesh K ยท Last checked 7 November 2026 ยท 10 min read

Image: Unity

Key points

  • Unity's in-editor AI assistant is included with Pro, Enterprise and Industry; on Personal it's a 14-day trial, then $10 a month for 1,000 credits.
  • Unity's CLI, its MCP server and Unity's official plugin for Claude Code, Codex and Grok are free; the MCP server inside the Assistant package is deprecated.
  • Have the agent run your tests with unity test, or Unity -runTests -batchmode -projectPath <project> -testPlatform EditMode -testResults results.xml, without -quit.

In this guide

  1. Unity's AI assistant and generators (formerly Unity AI)
  2. How to connect Claude Code, Codex or Cursor to Unity
  3. Using Cursor or VS Code with Unity
  4. How to make the agent test its own work
  5. Skill packs for Unity agents
  6. Other AI assistants for the Unity editor
  7. AI inside your Unity game
  8. Limits and caveats
  9. How we chose
  10. FAQ

There are two ways to use AI in Unity, and you can combine them. Unity's AI assistant, launched as Unity AI, is Unity's own AI inside the editor: an Assistant that can plan and make changes in your project, plus generators for sprites, textures, sound, animation and simple 3D props. Or you can bring your own coding agent, such as Claude Code, Codex or Cursor, and connect it to the editor through Unity's free CLI, its MCP server or a community MCP server.

This guide covers what each option does and costs, how to set it up, and how to make the agent test its own work. Everything is as of November 7, 2026. Unity says its AI tools are still in beta, so menus and prices may change.

Unity's AI assistant and generators (formerly Unity AI)

Unity's AI tools went into open beta for Unity 6 on May 1, 2026, under the name Unity AI. Unity has since dropped that name: its AI page now says "We're retiring the 'Unity AI' brand name" and calls them Unity's AI tools: the in-editor AI assistant, the AI gateway, the MCP server, the official plugin and the CLI. Unity's docs (which are labeled pre-release) describe the assistant as "a generative artificial intelligence (AI) tool integrated into the Unity Editor." It works in three modes:

  • Ask explains things and answers questions about your project, using read-only tools.
  • Plan writes a step-by-step plan for a bigger task.
  • Agent makes changes directly in your project.

It also includes Generators for sprites, textures, materials, terrain layers, sound, animation and "simple props" as 3D objects, plus profiler analysis.

How to install and open it: Unity's docs recommend the AI menu in the editor toolbar, where you accept the terms and choose "Agree and install Unity AI." You can also add the package com.unity.ai.assistant through Window > Package Manager > + > "Install package by technical name." Once it's installed, open it from Window > AI > Assistant. It needs Unity 6; the install docs currently list 6000.0.76f1, Unity 6.3 or later.

Which models it uses: Unity's AI guiding principles (updated August 19, 2026) say the Assistant runs on Gemini models from Google, Claude models from Anthropic, Kimi K3, and GLM models from Z.ai, all hosted by Unity. You choose a tier (Unity Default, Lite, Ultra or Experimental); Ultra uses significantly more credits. The generators use partner models, including FLUX through Layer AI and Scenario, and Uthana for animation.

Bring your own agent (AI Gateway): the Gateway lets you run Claude Code, Codex, Gemini or Cursor inside the assistant window, using your own API keys. Unity's FAQ says using a third-party agent through the Gateway "will not consume Unity credits," though Unity's plan comparison says Personal users need the monthly subscription for it.

Is Unity's AI assistant free?

Partly. According to Unity's product page and its May 1 beta announcement:

PlanIn-editor AI assistantMonthly AI credits
Personal (free)14-day trial with 1,000 credits, then $10 a month1,000 with the subscription
Pro ($210/month or from $2,310/year)Included2,000
Enterprise and Industry (custom pricing)Included3,000

Unity doesn't publish the price of extra credits on its pricing page. Unity's AI FAQ says the Unity CLI, its MCP server and Unity's official plugin are free with "no concurrency limits," and that the MCP server doesn't need an AI subscription. Unity's plan comparison table still lists limits on concurrent MCP connections (3 on Pro, 5 on Enterprise), which appear to date from the older MCP server described below.

Who owns the output: Unity's guiding principles say "You own all your input and output data when using Unity's AI tools," and that training on your content is off by default. Unity's product page adds that generated assets carry metadata marking them as AI-generated, and that you're responsible for app store declarations and checking usage rights.

How to connect Claude Code, Codex or Cursor to Unity

If you'd rather use the agent you already pay for, Unity's free tools connect it to the editor. They need Unity 6.0 LTS or later and run on your own machine only.

1. Install Unity's plugin for your agent. The official plugin adds Unity skills (knowledge packs the agent loads when needed) for UI, 2D, URP, Shader Graph, physics, multiplayer, in-app purchases and more; the repo had 34 of them on November 7. In Claude Code, run /plugin marketplace add Unity-Technologies/unity-agent-plugin, then /plugin install unity@unity-agent-plugin. The README gives the equivalent commands for Codex, Grok, Google Antigravity and GitHub Copilot CLI, and the same skills install in other agents with npx skills add Unity-Technologies/skills. The plugin is free under the Unity Companion License; it's not an open-source license.

2. Install the Unity CLI so the agent can drive the editor. On macOS or Linux, Unity's docs give curl -fsSL https://unity.com/install.sh | bash or brew install --cask unity-cli; on Windows, winget install Unity.CLI. The CLI is still in beta (1.0.0-beta.17, November 5, 2026).

3. Connect it to your agent. Run unity pipeline install in your project, then unity mcp configure claude (or cursor, vscode and others; unity mcp configure --list shows them all). Unity also offers unity command and unity eval, which it says drive the editor directly and are "faster and use fewer tokens than MCP."

Ignore older setup guides that tell you to turn on the MCP server under Edit > Project Settings > AI. Unity has deprecated the MCP server inside the Assistant package and replaced it with the CLI's unity mcp command.

The plugin's README warns that its skills edit scripts, scenes and assets, so keep your project in version control and commit before each agent session.

Community Unity MCP servers

Several free community servers predate Unity's own and remain popular:

ServerPrice and licenseNeedsWhat stands outGitHub stars (Nov 7)
MCP for Unity (CoplayDev)Free, MITUnity 2021.3 to 6.x, Python 3.10+50 tools covering scenes, GameObjects, scripts, assets, tests, profiling and builds; works with older Unity versions15,768
AI Game Developer (Ivan Murzak)Free core, Apache-2.0; hosted plans $25 to $199 a monthNo spaces in the project pathQuery-style editing tools, screenshots, running tests and C# code; signs in to its hosted service by default, local setups also work4,596
MCP Unity (CoderGamester)Free, MITUnity 6+, Node.js 18+Running tests, console logs, play mode, recompiling scripts2,012

MCP for Unity's README now says it's sponsored and maintained by Aura; its original maker, Coplay, says it has joined Aura. (The older justinpbarnett/unity-mcp repository now redirects to it.) Coplay also offers a separate commercial server, Coplay MCP, which it says has 86 Unity tools and is free during its beta.

Using Cursor or VS Code with Unity

Unity officially supports Visual Studio, VS Code and JetBrains Rider as script editors; set yours under Edit > Preferences > External Tools (Unity > Settings on macOS). For VS Code, Unity's docs say to use the com.unity.ide.visualstudio package (2.0.20 or later) with Microsoft's C# and Unity extensions, and warn that the old com.unity.ide.vscode package "is no longer supported and should not be used."

Unity doesn't document Cursor. Because Cursor is built on VS Code, many people use the VS Code setup, and a community package from boxqkrtm (MIT, not affiliated with Unity), installed from its Git URL https://github.com/boxqkrtm/com.unity.ide.cursor.git, makes Cursor selectable as the external editor. Its package name is now com.boxqkrtm.ide.cursor. Add MCP with unity mcp configure cursor.

How to make the agent test its own work

The most useful thing to put in your agent's instructions (CLAUDE.md or AGENTS.md) is how to run your tests, so it checks a change before calling it done:

  • With the Unity CLI: unity test runs Edit Mode and Play Mode tests and writes an NUnit results file; unity build makes a build in batch mode.
  • With the editor's command line: Unity -runTests -batchmode -projectPath <project> -testPlatform EditMode -testResults results.xml, where Unity is the full path to your editor (for example Unity.app/Contents/MacOS/Unity on macOS). Use PlayMode for play-mode tests, and -testFilter or -testCategory to run a subset. Unity's docs warn that -quit isn't supported while tests run, so leave it out.
  • For builds: Unity -batchmode -quit -projectPath <project> -executeMethod BuildScript.Build runs a static build method you've written in a script inside an Editor folder. On macOS and Linux, add -logFile - to print the log to the console.

Write tests with Unity's Test Framework so the agent has something to run. Without them, its only check is that the code compiles.

Skill packs for Unity agents

Skills teach a general coding agent Unity's conventions. Besides Unity's own:

  • Unity Claude Skills (MIT): 35 skills based on Unity 6.3 LTS, according to its README.
  • Awesome Gamedev Agent Skills (Apache-2.0): 8 Unity skills among 77. In Claude Code, add its marketplace with claude plugin marketplace add gamedev-skills/awesome-gamedev-agent-skills, then claude plugin install unity@awesome-gamedev-agent-skills.
  • Claude Code Game Studios (MIT): includes five Unity specialist agents, covering general Unity work, DOTS, shaders, Addressables and UI.

Our guide to engine skill packs for coding agents explains how skills work.

Other AI assistants for the Unity editor

  • Bezi indexes your scenes, prefabs and code and, according to its site, can debug in Play Mode and run builds, for Unity and Unreal. It has a free trial with 100 credits; Pro costs $20 a month.
  • Coplay, which says it's now part of Aura, has a free plan and a $20-a-month Professional plan for Unity; Aura's own plans cover both Unity and Unreal.

AI inside your Unity game

To put AI into the game itself rather than use it to build:

  • Sentis (package com.unity.ai.inference, briefly called Inference Engine) is Unity's runtime for running your own ONNX, LiteRT and exported PyTorch models on players' devices, on CPU or GPU.
  • LLM for Unity (Apache-2.0) runs language models locally through llama.cpp for NPC dialogue, and is free for personal and commercial use.
  • Unity ML-Agents trains game characters with reinforcement learning; its latest release needs Unity 6.
  • Hosted NPC services such as Convai have Unity plugins. Our AI NPCs guide compares them.

Limits and caveats

  • Models still invent Unity APIs. In a study posted to arXiv on July 11, 2026, none of 10,400 single-pass Unity scene generations from four open-weight models of 7 to 30 billion parameters compiled into a runnable scene; the authors blame missing Unity-specific knowledge, such as invented or misused APIs, along with plain C# mistakes. That doesn't measure frontier models like Claude or GPT, and we found no public benchmark that does, but it's why the test step above matters.
  • Unity's AI tools are in beta, and the CLI and plugin are labeled beta too. Unity's own docs disagree slightly on the minimum Unity 6 patch version.
  • Disclose AI assets on the Asset Store. Unity allows AI-generated assets there but requires the listing to say so; its content policy prohibits "AI-generated content not marked as such" and applies a two-strike policy.
  • AIGamer hasn't tested these tools. This guide compares what Unity and each project say about their own products.

How we chose

AIGamer compiled this guide from Unity's product, pricing and legal pages, Unity's documentation, posts by Unity staff on Unity Discussions, the Unity blog, each project's GitHub README (star counts from GitHub on November 7, 2026) and vendors' own pricing pages. We included the official tools plus community servers with recent updates and clear setup instructions. Unity games built this way include Mowtopia, most of which its developer says Claude Code built in about 2 days.

FAQ

Is Unity AI free?

Unity's FAQ says the Unity CLI, its MCP server and Unity's official plugin for coding agents are free. The in-editor AI assistant and generators come with Unity Pro, Enterprise and Industry; on Unity Personal you get a 14-day trial with 1,000 credits, then it costs $10 a month.

How do I open Unity's AI assistant?

Install it from the AI menu in the editor toolbar (or add the com.unity.ai.assistant package in the Package Manager), then open it from Window > AI > Assistant. It needs Unity 6.

What is Unity MCP?

It's a way for outside AI agents such as Claude Code or Cursor to control the Unity editor through the Model Context Protocol. Unity's own version now runs from the Unity CLI (unity mcp configure claude); the older server inside the Assistant package is deprecated. Free community servers such as MCP for Unity also exist.

Can I use Claude Code with Unity?

Yes. Install Unity's official plugin with /plugin marketplace add Unity-Technologies/unity-agent-plugin and /plugin install unity@unity-agent-plugin, then add the Unity CLI so Claude Code can drive the editor and run tests. Inside Unity's AI assistant, the AI Gateway can also run Claude Code without using Unity credits (on Personal it needs the $10 subscription).

Can I use Cursor with Unity?

Yes, though Unity doesn't officially support it. Use Unity's VS Code setup or the community Cursor package from boxqkrtm, and connect Cursor to the editor with unity mcp configure cursor.

Can I sell AI-generated assets on the Unity Asset Store?

Yes, as long as the product listing discloses that the content is AI-generated.

Sources

Compiled by AIGamer from the sources below, which we last checked on 7 November 2026. Prices and features change; check the tool's own site before you buy.

  1. Unity: AI features page and FAQ
  2. Unity: Pricing and plan comparison
  3. Unity staff on Unity Discussions: Unity AI's open beta now live for Unity 6 (May 1, 2026)
  4. Unity Docs: In-editor AI assistant manual (package 2.21, pre-release)
  5. Unity Docs: Unity AI Assistant manual (package 2.13)
  6. Unity Docs: Assistant modes
  7. Unity Docs: Install Unity AI
  8. Unity Docs: Generators
  9. Unity Docs: AI Gateway
  10. Unity: Unity AI guiding principles (updated August 19, 2026)
  11. Unity: Third-party AI terms (updated July 28, 2026)
  12. Unity Docs: Replace the MCP server with the Unity CLI
  13. Unity Docs: Use the Unity CLI
  14. Unity Docs: Unity CLI release notes
  15. Unity Docs: Unity CLI editor and project commands
  16. Unity Docs: About the Unity plugin
  17. Unity-Technologies: unity-agent-plugin README
  18. Unity-Technologies: skills README
  19. Unity Blog: Unity plugin for Claude Code (September 9, 2026)
  20. Unity staff on Unity Discussions: The official Unity plugin for Codex (September 16, 2026)
  21. CoplayDev: MCP for Unity README
  22. IvanMurzak: Unity-MCP (AI Game Developer) README
  23. AI Game Developer: Pricing
  24. CoderGamester: MCP Unity README
  25. Coplay: Coplay MCP
  26. Coplay: Pricing
  27. Bezi: Homepage
  28. Bezi: Pricing
  29. Unity Docs: Integrated development environment (IDE) support
  30. boxqkrtm: com.unity.ide.cursor README
  31. Unity Docs: Run tests from the command line
  32. Unity Docs: Editor command-line arguments
  33. Nice-Wolf-Studio: Unity Claude Skills README
  34. gamedev-skills: Awesome Gamedev Agent Skills README
  35. Donchitos: Claude Code Game Studios README
  36. Unity Docs: Sentis (com.unity.ai.inference) manual
  37. Unity-Technologies: ML-Agents README
  38. undreamai: LLM for Unity README
  39. Liu and Tatar: Study of LLM-generated Unity scene scripts (arXiv, July 11, 2026)
  40. Unity Support: AI-generated content on the Asset Store
  41. Unity: Asset Store content transparency policy

Image: Unity

Written in our own words; quotes are marked and credited. How we report

Get the week in AI game making, every Monday

The top stories, new guides and the AI Game of the Week in one short email. Free.

More guides

  • Best AI 3D model generators for games in 2026: 10 tools comparedMeshy, Tripo, Rodin, Hunyuan3D, TRELLIS 2 and more, compared on price, free tiers, commercial rights, topology and rigging, with what it takes to make AI models game-ready.
  • How to use AI in Blender: MCP servers, Claude and AI add-ons (2026)Blender has no built-in AI, but MCP servers let Claude, Codex and Cursor build and edit scenes in it. The community and official options compared, how to set one up, and how to stay safe.
  • How to use AI in Roblox: Studio Assistant, MCP and AI game makers (2026)Roblox Studio has its own AI agent, a built-in MCP server for Claude Code and Cursor, and a prompt-to-game tool in alpha. What each does, how to turn it on, and the rules for AI in your game.
  • How to use AI with Godot: MCP servers, Claude Code and editor plugins (2026)Godot has no built-in AI, but free MCP servers, coding agents and editor plugins fill the gap. Which to pick, how to set one up, and how to make the agent check its own work.
  • How to let coding agents playtest the games they buildSix MIT-licensed tools give Claude Code, Codex and other agents a way to run, measure and check a game. Pick one for your engine, write tests the agent can run, and leave feel to a person.
  • Blockout first, art last: how to texture a playtested gray level with AIEpic's docs say to add art only once a level plays well. trompe automates that last step, but its texture is baked to the mesh, so keep the gray level for repaints.
  • How to turn an AI picture into a rigged 3D game asset in 5 stepsPicture, mesh, refine, rig, export: how 3D AI Studio's templates, Tripo, Hi3D and anymove fit together, and where each step needs checking before the next.
  • How to teach coding agents Roblox Studio, Unreal and game servers with skill packsA skill is a folder of instructions and scripts that a coding agent loads only when a task needs it. Here is how packs from Scenario, Gameye and Epic work, and where they fall short.
  • How to run a Gauntlet Loop: pair each AI builder agent with a blind criticThe method behind the 55,000-line Claude of Duty shooter: split the game into small pieces and have a fresh, blind critic judge each one against real reference screenshots, round after round.
  • How to let coding agents drive Unreal, Godot and Minecraft with MCPEpic's experimental Unreal MCP plugin and community servers for Godot and Minecraft let an agent act inside a running editor and check the result. Expect dropped tools when the editor restarts.
  • AI game engines in 2026: what's real, from Unity AI and Unreal MCP to Genie 4The term covers 2 different things: AI tools inside Unity, Unreal, Godot and Roblox Studio, and world models that draw playable frames. Only the first can be used to ship a game today.
  • AI NPCs: how they work, the tools to build them and games that use themSome AI characters, like inZOI's Smart Zois, now run small language models on the player's own GPU. How the pipeline works, which SDKs exist and what still goes wrong.
  • Best AI game makers in 2026: 9 tools comparedPrompt-to-game sites, engine assistants and coding agents, with prices as of October 2026, which ones let you take your game elsewhere, and one limit for each.
  • Vibe coding games: how to build a game by prompting an AI agentAndrej Karpathy named the method in February 2025, and a browser flight sim made it famous weeks later. Here's the workflow, the tools and their prices, and the problems to plan for.

๐Ÿ“˜Guides

  • Best AI 3D model generators for games in 2026
  • How to use AI in Blender
  • How to use AI in Unity
  • How to use AI in Roblox
  • How to use AI with Godot
All guides โ†’
Sign in
Sign in