Release | Unity Code MCP Server | July 2026

Unity Code MCP Server v0.5 Release Notes

The 0.5 release removes the UniTask requirement and makes gameplay input, async tool execution, and Unity package compatibility more reliable.

Tags: Release Notes, Unity, AI Agents, Gameplay Automation

v0.5.12 on GitHub Repository

Unity Code MCP Server 0.5 Release Changes

TL;DR

The 0.5 release makes Unity Code MCP Server leaner to install and more dependable during long-running automation. The biggest gains are in gameplay testing: simulated actions now survive focus changes more reliably, clean up after themselves, and restore the project’s previous runtime state when a run finishes.


What’s New for You?

One less dependency to install

Unity Code MCP Server no longer requires UniTask. It now includes a focused async layer built on standard .NET tasks, reducing setup work and removing a package that projects only needed for the MCP server.

If your project uses UniTask elsewhere, you can keep it. If it was installed only for Unity Code MCP Server, you can remove it after upgrading.

Gameplay input that handles focus changes

AI agents often operate while the Unity window is not focused. In 0.5, play_unity_game accounts for those real-world workflows by re-enabling affected input devices and temporarily applying the runtime settings needed for dependable simulated actions.

Presses and holds are now more resilient when Unity loses focus or moves between focused and unfocused states. Each run also clears stale device state and releases simulated controls, preventing one gameplay command from leaking into the next.

For a practical look at this workflow, see how AI agents can playtest Unity games.

Safer, more predictable Editor execution

MCP tools are now marshalled onto Unity’s main thread. This reduces threading-related failures when agents work with scenes, assets, tests, and Play Mode operations.

The built-in task layer handles Editor updates, real-time delays, cancellation, exceptions, coroutines, and main-thread dispatch. That gives tool authors a standard .NET async model while respecting Unity’s execution constraints.

Better compatibility with Unity projects

JSON handling now uses Unity’s Newtonsoft Json package rather than bundled System.Text.Json assemblies. This reduces the chance of assembly conflicts in host projects and keeps schemas, prompts, resources, requests, responses, and tool arguments on a Unity-supported dependency.

Bundled skills have also moved under Skills~, so Unity does not unnecessarily import and compile their support files.


Breaking Changes and Migration

Most users can upgrade directly. Unity Input System 1.19.0 and Newtonsoft Json 3.2.2 are declared by the package and should be resolved automatically by Unity Package Manager.

Custom MCP tool authors need to update two APIs:

After upgrading, test any custom tools and gameplay scenarios that depend on simulated input. Projects that installed UniTask solely for Unity Code MCP Server can remove it once no other code depends on the package.


Key Improvements

Gameplay automation

Runtime and compatibility

Agent experience

Read the complete packaged notes and download the release from Unity Code MCP Server v0.5.12 on GitHub.