youngwoocho02

Control Unity Editor from the command line. No MCP, no Python, no dependencies — just a single binary.

37
3
100% credibility
Found Mar 16, 2026 at 36 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
C#
AI Summary

unity-cli enables controlling Unity Editor from a terminal with commands for play mode, C# execution, console reading, asset refresh, and custom tools.

How It Works

1
🔍 Discover unity-cli

While searching for ways to speed up your Unity game making, you find this handy tool that lets you boss around Unity using just your keyboard.

2
📥 Install the helper

You grab a tiny program for your computer with a quick download and setup – it takes seconds and works on any system.

3
🧩 Add to Unity project

Slip a small connector piece into your Unity project so it can hear your instructions from afar.

4
🚀 Unity wakes up ready

Open your Unity project, and it quietly starts listening for your commands – everything links up smoothly without fuss.

5
⌨️ Send simple instructions

From your computer's chat window, tell Unity to start playing your game, pause it, check for mistakes, or refresh changes.

6
Unlock super powers

Run special code snippets or custom actions inside Unity instantly, like magic, to tweak scenes or test ideas on the fly.

🎉 Game dev flows easy

Your daily Unity tasks zoom along effortlessly, freeing you to create awesome games without mouse-click drudgery.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 36 to 37 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is unity-cli?

unity-cli is a single-binary tool built in Go that lets you control the Unity Editor from your terminal—no Python relays, MCP protocols, or runtime dependencies needed. Drop in a lightweight C# connector package via Git URL, and run commands like `unity-cli editor play --wait`, `exec "Selection.activeGameObject.name"`, or `reserialize Assets/Player.prefab` to toggle play mode, run arbitrary C# scripts, read console logs, execute menu items, refresh assets, or inspect profiler data. It solves the pain of manually clicking through Unity for repetitive tasks, enabling scripted workflows over direct HTTP to localhost.

Why is it gaining traction?

Unlike MCP setups with thousands of lines of JSON-RPC and WebSocket bridges, this is dead simple: one binary discovers Unity instances via a status file and fires HTTP POSTs. The killer feature is `exec` for instant C# execution with full Unity API access—query scenes, spawn objects, tweak PlayerSettings—plus safe asset reserialization after YAML edits and auto-discovered custom tools via attributes. Developers dig the zero-install friction and shell compatibility on Linux, macOS, Windows.

Who should use this?

Unity scripters automating builds, asset pipelines, or tests; AI agent builders needing programmatic editor control like unity cli github integrations for scene tweaks or profiler dumps; solo devs handling unity click on gameobject queries or unity control animation from script without custom editors. Ideal for github control panel workflows in monorepos with Unity projects.

Verdict

Grab it if you need lightweight Unity CLI control—docs are thorough, MIT-licensed, and cross-platform—but with 22 stars and 1.0% credibility score, treat as experimental for production. Test in a side project first; maturity lags behind battle-tested alternatives.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.