Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

AICommand

> 编程语言
Open source

ChatGPT integration with Unity Editor

4.1K stars0 likes0 views
WebsiteGitHub

About

ChatGPT integration with Unity Editor

AICommand

This is a proof-of-concept integration of ChatGPT into Unity Editor. You can control the Editor using natural language prompts.

How to try it

You have to generate an API key to use the ChatGPT API. Please generate it on your account page and set it on the Project Settings page (Edit > Project Settings > AI Command > API Key).

CAUTION - The API key is stored in UserSettings/AICommandSettings.asset. You must exclude the directory when sharing your project with others.

You can open the AI Command window from Window > AI Command.

System requirements

Unity 2022.2 or later

Frequently asked questions

Is it practical?

Definitely no! I created this proof-of-concept and proved that it doesn't work yet. It works nicely in some cases and fails very poorly in others. I got several ideas from those successes and failures, which is this project's main aim.

Can I install this to my project?

This is just a proof-of-concept project, so there is no standard way to install it in other projects. If you want to try it with your project anyway, you can simply copy the Assets/Editor directory to your project.

AICommandWindow throws NullReferenceException

Probably your OpenAI trial period has expired. Please check your billing status. See AIShader issue #1 for details.

I pressed the "Run" button, resulting in compilation errors.

In many cases, ChatGPT fails to implement your command correctly. You might get the correct one by repeatedly pressing the "Run" button.

(That's why I think this PoC is impractical...)

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言