← Guides

AI for Unity (2026): Unity's AI Tools, Claude Code and Codex in the Editor, Game AI, and an Agent That Ships the Game

AI for Unity in November 2026: what Unity's AI tools are now (the in-editor assistant, AI gateway, MCP server, CLI and official plugin for Claude Code, Codex and Grok), what they cost, how to connect a coding agent to the Editor step by step, AI inside your game (AI Navigation, ML-Agents, Sentis), and how SPIRITT codes, builds and launches Unity projects with you.

Flat risograph illustration of a cheerful game developer at a desk with a large monitor showing a simple 3D level of cubes and a path, while a friendly robot holds a game controller and another robot stacks building blocks, navy and orange on cream

AI for Unity in November 2026 means two things: AI that helps you build in Unity, and AI that runs inside your game. For building, Unity's own AI tools (an in-editor assistant that understands your scene, an AI gateway for outside agents, a free MCP server, the Unity CLI and an official plugin for Claude Code, Codex and Grok) sit next to coding agents that write and refactor C# across your project. For game AI, Unity offers AI Navigation for pathfinding, the open-source ML-Agents toolkit for trained behaviors and Sentis for running neural networks in the runtime. SPIRITT is the AI agent that works on the whole project: it writes and tests C# in your repository, opens pull requests, sets up build pipelines, deploys WebGL builds to a live URL and runs the store page, trailer and launch. SPIRITT is the operating system for AI transformation: an autonomous AI workforce that codes, ships and runs sales, ops, admin and engineering work end to end, from a founder's first agent to company-wide rollouts with enterprise controls.

For engine-agnostic picks (Godot, Unreal, browser games, 3D asset generators), see the best AI for game development.

Unity's AI tools in 2026: what they are now

Unity retired the "Unity AI" brand name in 2026. The tools remain, each described by what it does:

ToolWhat it doesCost
In-editor AI assistantProject-aware agent in the Editor: understands your scene, inspects GameObjects and components, drives Editor actions and verifies changes; asset generators for sprites, textures and sounds; several models to choose fromIncluded with Unity Pro, Enterprise and Industry; Personal: free trial, then $10 a month ($120 a year)
AI gatewayConnects a verified third-party agent you already pay for inside the EditorNo Unity credits used
MCP server (through the CLI)Lets an agent in your IDE or terminal operate the EditorFree, no concurrency limits
Unity CLIInstalls the Editor, creates and opens projects, and has a built-in MCP modeFree
Official pluginUnity-authored engineering skills plus the CLI and MCP server in one install, for Claude Code, Codex and GrokFree

Requirements and data: the tools need Unity 6.0 or later and a package install, so nothing is on by default. Unity says user data is used only to provide the service and is not used to train AI models unless you opt in. Assets made by the in-editor assistant carry metadata flagging them as AI-generated, and you remain responsible for store declarations and usage rights. Unity Muse is deprecated; it used Unity's own models, while the current tools use third-party models.

The plugin's skills cover getting started and tooling, UI (UI Toolkit, uGUI, IMGUI, TextMeshPro), 2D and sprites, rendering (URP, Shader Graph), audio, AI Navigation and 3D physics, in-app purchases and live ops, multiplayer, and platform and localization. In practice that means the agent follows Unity's conventions instead of guessing them.

Unity plans and AI pricing (November 2026)

PlanPrice (US)AI assistant
Unity PersonalFree for individuals and businesses under $200,000 in revenue or funding over the last 12 monthsFree trial, then $10 a month or $120 a year
Unity Pro$210 a month per seat without commitment, or $2,310 a yearIncluded
Unity EnterpriseRequired above $25 million in revenue or funding; custom pricingIncluded
Unity IndustryFor non-game applications above $1 million in total finances; $450 a month per seat with a one-year commitment, or $4,950 a yearIncluded
Claude CodeIncluded with Claude Pro ($20 a month, $17 billed yearly), Max from $100Works through the official plugin or MCP server
GitHub CopilotFree tier; Pro $10, Pro+ $39 a monthInside VS Code, Visual Studio and Rider
SPIRITTFree to start; Starter $32, Pro $256, Max $1,024 a monthWorks on the repository, builds, deployment and launch

Prices are list prices before tax, checked on unity.com and vendor pages in November 2026. Unity says its AI tools are in beta and credit consumption varies by model.

How to connect Claude Code or Codex to the Unity Editor

The fastest route is Unity's official plugin, which bundles the skills, the CLI and the MCP server:

  1. Install Unity 6 or later through the Unity Hub or the Unity CLI, and open your project.
  2. Install the official plugin in your agent. Use the command from Unity's plugin documentation in your terminal, or install it from your agent's plugin marketplace (Claude Code, Codex and Grok are supported).
  3. Let the agent connect to the Editor. The plugin sets up the MCP server through the CLI, so the agent can inspect the scene, create objects, run play mode and read the console.
  4. Start with a scoped task: "Add a dash ability to the PlayerController with a cooldown, expose the values in the Inspector and write a play mode test."
  5. Review the diff in version control before you keep it. Agents move fast; your commit history is your safety net.

If you prefer to work inside the Editor, open the AI button, install the assistant package and use Unity's own assistant, or connect your existing agent through the AI gateway so its usage stays on your own subscription.

AI inside your Unity game

"AI for Unity" also means the intelligence your players meet:

  • AI Navigation builds NavMeshes so characters find paths around obstacles. It is the starting point for most enemy and companion movement.
  • Behavior logic is usually code you own: finite state machines, behavior trees or utility AI written in C#. Coding agents are good at writing and refactoring these systems from a description of the behavior you want.
  • ML-Agents is Unity's open-source toolkit for training behaviors with reinforcement and imitation learning, useful for agents that learn to drive, fight or balance, and for automated playtesting.
  • Sentis runs neural network models natively in the Unity runtime, on the player's device, for things like gesture recognition, smart NPC responses or image effects without a server.
  • Language model NPCs that call a hosted model are possible, but plan for latency, cost per player and content rules before you ship them.

How SPIRITT works on Unity projects

Unity's tools and coding agents help inside the Editor. SPIRITT is the agent for the whole job around it, from the first script to launch week.

  1. Code in your repository. Connect GitHub or GitLab and SPIRITT reads the project, writes and refactors C# scripts, adds edit-mode and play-mode tests and opens pull requests with a summary you can review.
  2. Build pipelines. It sets up continuous integration that builds your project on every merge and reports failures back to you.
  3. Playable builds on a live URL. It deploys WebGL builds to a real URL for playtesters and keeps the latest version up.
  4. Art, audio and copy. It generates concept art, sprites, sound effects, music and voice lines, and writes dialogue, item text and localization files.
  5. Playtest operations. It collects tester feedback from a form or Discord, groups the issues and turns them into tasks.
  6. Launch. It drafts the Steam or itch.io page, makes the trailer and screenshots, writes the press kit and launch posts, and runs the newsletter and community updates.
  7. Every model, composed. SPIRITT composes models from Anthropic, OpenAI, Google and others within each task, on its own cloud computer, and you can use your ChatGPT and Claude subscriptions at $0 extra for those models.

It works through 1,500+ apps, with budgets and approvals you set, so it asks before anything public goes out.

A worked example: a solo dev's roguelite month

Theo builds a 2D roguelite in Unity 6 after his day job. In the Editor he uses Claude Code with Unity's official plugin for quick scene work. In parallel he gives SPIRITT the GitHub repo: it adds a save system with tests and opens a pull request, sets up a workflow that builds WebGL on every merge, and deploys each build to a playtest URL. Ten friends play it; SPIRITT collects their notes from a form, groups them into twelve issues and drafts fixes for the three most reported bugs. In week four it writes the Steam page, cuts a 30-second trailer from his captures and schedules launch posts for his review. Theo keeps every design decision. The details are a composite example, not a real customer.

Which AI should you use with Unity?

  • You live in the Editor: start with Unity's in-editor assistant (included with Pro) or bring your agent through the AI gateway.
  • You live in the terminal or IDE: Claude Code or Codex with Unity's free official plugin, or GitHub Copilot in your IDE for completions.
  • You need smarter NPCs: AI Navigation plus behavior code first; ML-Agents or Sentis when learned behavior earns its cost.
  • You want the whole game shipped, from code and builds to the store page and launch: SPIRITT, alongside whichever Editor tools you like. For more on coding agents, see the best AI coding assistants.

FAQ

Does Unity have AI?

Yes. Unity's AI tools include an in-editor AI assistant that understands your scene and drives Editor actions, an AI gateway for third-party agents, a free MCP server, the Unity CLI and an official plugin for Claude Code, Codex and Grok. For runtime AI, Unity has AI Navigation, ML-Agents and Sentis.

Is Unity AI free?

Partly. The CLI, MCP server and official plugin are free with no concurrency limits, and third-party agents connected through the AI gateway do not use Unity credits. The in-editor assistant is included with Unity Pro, Enterprise and Industry; Personal users get a free trial, then pay $10 a month.

What happened to Unity Muse and the Unity AI name?

Unity Muse is deprecated; it used Unity's own models. Unity also retired the "Unity AI" brand name and now describes each tool by what it does: the in-editor assistant, AI gateway, MCP server, CLI and official plugin.

How do I use AI in Unity?

Install Unity 6 or later. Either install the in-editor assistant package from the AI button in the Editor, or install Unity's official plugin into Claude Code, Codex or Grok so your agent can operate the Editor through the MCP server. Start with small, testable tasks and review changes in version control.

Can I use Claude Code with Unity?

Yes. Unity publishes an official plugin for Claude Code with Unity-authored skills, the CLI and the MCP server. Claude Code is included with Claude's paid plans, starting at Claude Pro for $20 a month.

What is the best AI for Unity C# scripting?

Coding agents with Unity context do best: Claude Code or Codex with Unity's official plugin, Unity's in-editor assistant for scene-aware work, and GitHub Copilot for completions in your IDE. SPIRITT writes and tests C# in your repository and also handles builds, deployment and launch.

Is there a Unity AI agent?

Yes. Unity's in-editor assistant is an agent that inspects your scene and performs Editor actions, and outside agents can act on the Editor through the MCP server or AI gateway. SPIRITT is an AI agent that works across the repository, builds and launch.

Does Unity use my project to train AI models?

Unity says that by default user data is used only to provide the service and is not used to train AI models; you can opt in to share data through the Dashboard.

How we checked

SPIRITT publishes this guide. Unity's AI tools, the retired "Unity AI" name, Muse and Sentis status, data use, requirements and the plugin's skill list come from unity.com/features/ai and its FAQ; Unity plan prices and eligibility thresholds from unity.com/pricing. Claude prices come from claude.com/pricing; GitHub Copilot prices from github.com as recorded in our November 2026 guides. All were read on November 25, 2026. We read the top Google results for "ai for unity" in the US on November 25, 2026. SPIRITT capabilities come from spiritt.ai and the SPIRITT product documentation, and prices from the live SPIRITT plan catalog. Theo is a composite example with made-up details.

Ship your Unity game with an AI agent

Buy from builders who use what they sellBuilt usingSPIRITT