Blog

Guide

How to vibe code a game in Unity with Claude Code

How to vibe code a game in Unity with Claude Code in 2026: Unity's official plugin, an MCP server, the setup steps, the real costs and where it breaks.

Published 6 min readby the Synagy team, written with AI

Short answer: to vibe code a game in Unity, you install Unity 6 (free for Personal users), Claude Code ($20 a month on Claude Pro) and a bridge that lets the agent drive the Editor. Unity's official Claude Code plugin adds 29 skills in two commands. An MCP server lets the agent read the console and run Play mode. Then you describe one small feature at a time and test it after every step.

We make Synagy, which has its own Unity package and MCP server. So we are not neutral. Every outside number below links to its source, checked on 2026-11-06.

What do you need to vibe code a Unity game?

You need three things: the engine, an agent and a bridge between them. The bridge matters most. Without it, Claude Code can only write C# files and guess whether they work.

PartWhat it doesPrice
Unity 6 PersonalThe engine and EditorFree under $200K revenue and funding in 12 months
Claude CodeThe agent that writes and edits codePro $20 a month, or $17 a month billed yearly
Unity's Claude Code plugin29 Unity skills plus the Unity CLINo price stated in the docs
An MCP serverLets the agent see the scene, console and Play modeFree options exist (see below)

Claude Code is not part of the free Claude plan. You need Pro or a higher plan.

Which bridge should you pick?

Pick the bridge by how much you want to pay and which Unity version you use. There are three common choices right now.

Choose Unity's plugin if …

you use Claude Code and want Unity's own skills for UI, sprites and services

Choose Unity's MCP server if …

you already pay for Unity Pro or want the trial

Choose CoplayDev if …

you are on Unity Personal or an older version and want a free bridge

Our Unity MCP servers comparison goes deeper into five servers, with their tools and limits.

How do you set it up, step by step?

The whole setup takes a few commands. This is the path with Unity's plugin plus a free MCP server.

  1. Install Unity 6create an empty 3D project in Unity Hub
  2. Install Claude Codesign in with a Pro or higher plan
  3. Add Unity's plugintwo slash commands inside Claude Code
  4. Connect the EditorUnity CLI or an MCP server, then check the link
  5. Build in small stepsone feature, one Play mode test, one commit
Vibe coding in Unity in five steps
  1. Open a terminal in your Unity project folder and start claude.
  2. Run /plugin marketplace add Unity-Technologies/unity-agent-plugin.
  3. Run /plugin install unity@unity-agent-plugin.
  4. For live Editor control, install the Unity CLI, run unity pipeline install and keep the Editor open. Then run unity status to confirm the link.
  5. For an MCP server, add CoplayDev through Package Manager with its git URL. Then use Window › MCP for Unity › Configure All Detected Clients.

How do you prompt so the game actually works?

Ask for one testable change per prompt. "Make a 3D platformer" is too big. The agent writes many files at once, and one compile error stops all of them.

A better first session has four prompts:

  1. "Add a player capsule with WASD movement and a jump on Space."
  2. "Add a third-person camera that follows the player."
  3. "Add five floating platforms and a goal flag at the end."
  4. "Show a win text when the player touches the flag."

After each prompt, ask the agent to enter Play mode and read the console. A bridge with console access makes this the most useful habit you can build. Fix errors before you add the next feature.

Where does vibe coding in Unity break?

It breaks in the same places for most people: big prompts, scene files and art. Plan for these four limits.

Where does Synagy fit, and where does it stop?

Synagy is the other way in, if you do not want to run a coding agent at all. The free Synagy package for Unity works in Unity 6 (6000.0 or newer). It is tested on 6000.0, 6000.3 and 6000.6.

Where Synagy stops: it does not draw 3D models inside Unity, and it is not a replacement for knowing your own game design. For a no-agent walkthrough, read how to make a Unity game without coding.

FAQ

Can you vibe code a Unity game for free?

Almost. Unity 6 Personal and the CoplayDev MCP server are free, but Claude Code needs a paid Claude plan from $17 a month billed yearly. Synagy's chat in Unity runs on 25 Free Credits a day during the free beta, with no agent subscription.

Does Unity's Claude Code plugin need an MCP server?

No. Unity's docs say the plugin only ships skills and does not use an MCP server. Live Editor control works through the Unity CLI and the Pipeline package. You can still add an MCP server next to it.

Which Unity version works best for vibe coding?

Unity 6 (6000.0 or newer) is the safe choice. Unity's own MCP server and AI tools need it, and Synagy's package is tested on 6000.0, 6000.3 and 6000.6. CoplayDev also supports Unity 2021.3 LTS.

Is vibe coding good enough for a real Unity game?

It is good enough for prototypes, game jams and small games. Bigger projects still need someone who reads the code, plays every build and keeps the scenes tidy. Start small, commit often and grow the game one tested feature at a time.

Written with AI and checked automatically before publishing, without a human editor. Spotted a mistake? Tell us and we fix it.

Try it yourself. Synagy builds games and Minecraft mods from plain words, free to start. See how it works or read more on the blog.