Table of contents

A Unity game lives in a project. A project is a folder that holds the scenes, assets, and code, plus the list of packages the project uses. A package is a feature built by Unity or another developer, such as camera control or automated testing. Once you add a package to the project, you can use it. This article is part 2 of the Claude & Unity getting started series. The previous article, Claude & Unity setup, installed the Unity Editor and Claude’s Unity plugin. Here, Claude creates your first project.
Unity Cloud is Unity’s online service. By default, the Unity CLI connects a new project to Unity Cloud and adds the cloud service packages. A local project for learning doesn’t need them, so the prompt tells Claude not to connect. The first time the Editor opens, it also shows software terms, and you decide whether to accept them. When you finish, Claude can open the Editor, run the game, and take a screenshot, and you can see in the Editor what Claude did.
As before, you and Claude take turns:
Ask Claude to create the project
I wrote my prompts in Chinese, and the prompts in this article are the English equivalents. Go back to the session from the previous article where you chose the C:\UnityGames folder, and type this in the input box:
1Use the Unity 7 I just installed to create a new 3D game project at C:\UnityGames\MyFirstGame, named MyFirstGame. This is a local project for learning, so don't connect it to Unity Cloud and don't add any cloud service packages. Skip version control for now. I'll set it up later.
Claude first checks which Editors are installed and which templates are available, then runs the command that creates the project:
1unity projects create MyFirstGame --output-dir C:\UnityGames --editor-version 7000.0.0a23 --template com.unity.template.urp-blank --no-cloud
--no-cloud tells the CLI not to connect to Unity Cloud and not to add the cloud service packages. com.unity.template.urp-blank is the Universal 3D template, an empty 3D project. URP in the template name stands for Universal Render Pipeline, the way Unity draws a 3D scene to the screen, and this template uses it.
In my test, Claude created the project in about two minutes. It reported that the project was not open yet and that version control was not set up. Version control records every change you make to a project, and you set it up in the next article. Claude also explained that the Unity CLI had added two packages automatically: Unity Pipeline, which lets Claude drive an open Editor from the command line, and Cinemachine, Unity’s official camera tool.
Start a session in the project folder
From now on, all the work happens inside the project folder. When Claude runs commands and reads or writes files, it starts from the folder you chose for the session. If you start a session in the project folder, the Unity commands Claude runs act on this project. The CLAUDE.md file in the next article also goes in this folder, and Claude reads it when a session starts there.
- Click New in the sidebar to start a new session.
- In the folder menu below the input box, choose
C:\UnityGames\MyFirstGame, and select the Auto permission mode, as before.
Ask Claude to add the Test Framework and open the Editor
The Test Framework is Unity’s official package for automated tests. When you later ask Claude to write game code, it can write tests with it, and Unity can check the results automatically, so you don’t have to press Play and test everything by hand. In the new session, type:
1This is a project I just created with Unity 7. Please add Unity's Test Framework package, then open this project in the Unity Editor. Make sure you can connect to the Editor and that the packages are installed, and finally enter Play Mode and take a screenshot of the Game view for me.
Claude writes Test Framework 1.9.0 into the project’s package list, Packages/manifest.json. When Unity opens the project, it downloads the packages on that list. Then Claude uses the Unity CLI to open the project’s Editor. The . means the current folder:
1unity open .
Accept the Editor software terms
The first time you open a project with this version of the Editor, a window called Unity Editor Software Terms appears. The Editor doesn’t continue starting until you deal with it. In my test, Claude noticed that the window was blocking the Editor, stopped, and asked me to decide. It didn’t accept the terms for me:

After you read the terms, select “I have read and agree to the Unity Editor Software Terms,” then click Accept and Continue. Go back to the Claude session and tell it to continue:
1I clicked Accept and Continue. Please continue.
Confirm Claude can drive the Editor
After Claude gets your reply, it waits for the Editor to finish starting, then reports these things in order:
- It is connected to the Editor.
- Test Framework and Unity Pipeline are both downloaded into the project.
- The errors and warnings in the Editor’s Console window. In my test there were no errors, and the warnings all came from the packages’ own code, not from your project.
- The Game view it captured in Play Mode. Claude exits Play Mode after the screenshot.
Play Mode runs the game directly in the Editor. It has the same effect as clicking the Play button at the top of the Editor. The template’s SampleScene has only three objects: a camera, a light, and a Global Volume that adjusts the visual effects. Nothing for the game has been added yet, so Claude’s screenshot shows only sky and ground:

Whenever you later ask Claude to place objects, write code, or run tests, Claude uses Unity Pipeline to drive the open Editor. Claude leaves the Editor open when it finishes, and you check what it did in the Editor.
Learn the Editor windows
This is the Editor after it opens. The Scene view is in the middle, and the Play button is at the top center:

You will use six windows most often when you make a game. Claude takes screenshots and checks for errors in these windows too:
| Window | Location | Purpose |
|---|---|---|
| Hierarchy | Left side | Lists the objects in the current scene, such as Main Camera and Directional Light |
| Scene | The Scene tab in the middle | The workspace where you place and move objects |
| Game | The Game tab in the middle | What the player actually sees, which is the view Claude captures |
| Inspector | Right side | Shows the settings of the selected object |
| Project | The Project tab at the bottom | The project’s files, such as scenes, assets, and code |
| Console | The Console tab at the bottom | Errors, warnings, and messages, which is where Claude checks for errors |
Check packages in the Package Manager
You can confirm in the Editor that the packages Claude added are installed:
- In the top menu, choose Window > Package Manager.
- On the left, under Project, choose All Packages.
- In the list, find Test Framework 1.9.0 and Unity Pipeline 1.0.1. The list under Project shows only the packages installed in this project.

The list also has Universal Render Pipeline and Input System, which come with the template, and Cinemachine, which the Unity CLI added when it created the project. Input System reads input from the keyboard, mouse, and gamepad.
Learn the project folder
The contents of a project folder fall into two kinds: what you make, and the files Unity generates when it opens the project. After I created my project, Assets was only about 0.3 MB, while Library was already about 1.2 GB:
In the next article, when you put the project into Git, only the top three folders are saved.
Test notes
| Item | Details |
|---|---|
| System | Windows 11, physical machine |
| Claude | Claude Code 2.1.329, default model |
| Editor | 7000.0.0a23 |
| Template | com.unity.template.urp-blank 17.4.0 |
| Added packages | Test Framework 1.9.0, Unity Pipeline 1.0.1 |
After I accepted the terms, Claude took about two minutes to confirm the connection, read the Console, and take the screenshot. The Console had 0 errors and 9 warnings.
My first prompt didn’t say “don’t connect to Unity Cloud.” As a result, the Unity CLI created a cloud project with the same name under my Unity account and added three cloud service packages: Authentication, Remote Config, and Cloud Save. After I added the instruction not to connect, Claude added --no-cloud, and the project’s package list had no cloud service packages.
Summary
Once the project exists and Claude can drive the Editor, the next step is Claude & Unity version control, where you write the CLAUDE.md rules and put the project on GitHub.

