A ChatGPT Unity experiment that proves its own impracticality
It wires ChatGPT into the Unity Editor to test natural-language control, then catalogs exactly where the idea falls apart.

What it does
AICommand is a Unity Editor window that pipes natural-language prompts to the ChatGPT API and attempts to run the resulting code inside the editor. It treats the engine like a voice-activated automation target, letting you describe changes in plain text instead of writing scripts by hand. The author built it specifically to see whether an LLM can reliably drive a complex creative tool.
The interesting bit
The project’s real output is not working software but a public post-mortem: the README openly declares the whole thing impractical and treats successes and failures as equal research data. That transparency is rarer than the integration itself, turning a fragile demo into a useful snapshot of where generative AI currently hits the wall.
Key highlights
- Generates and executes editor scripts from natural-language prompts via the ChatGPT API.
- The author explicitly labels it a proof-of-concept that “doesn’t work yet,” aimed at harvesting ideas from its own breakdowns.
- Targets Unity 2022.2 or later.
- Stores the OpenAI API key in
UserSettings/AICommandSettings.asset, which risks accidental commits if ignored. - Common failure modes include compilation errors from hallucinated code and
NullReferenceExceptioncrashes tied to expired OpenAI billing.
Caveats
- Ships without a package or installer; the author notes it is only portable by manually transplanting the
Assets/Editorfolder. - ChatGPT frequently writes broken code, and the documented recovery strategy is repeatedly pressing the Run button until the model guesses right.
- A
NullReferenceExceptioninAICommandWindowusually signals an expired OpenAI trial rather than a logic bug.
Verdict
Grab it if you are studying AI-assisted creative workflows or need a grounded reality check on LLM reliability. Avoid it if you are looking for a stable, production-grade Unity automation layer.
Frequently asked
- What is keijiro/AICommand?
- It wires ChatGPT into the Unity Editor to test natural-language control, then catalogs exactly where the idea falls apart.
- Is AICommand open source?
- Yes — keijiro/AICommand is open source, released under the Unlicense license.
- What language is AICommand written in?
- keijiro/AICommand is primarily written in C#.
- How popular is AICommand?
- keijiro/AICommand has 4.1k stars on GitHub.
- Where can I find AICommand?
- keijiro/AICommand is on GitHub at https://github.com/keijiro/AICommand.