Unfortunately, integrating it with Unity isn't as straightforward as one might hope. Despite being a fork of VS Code, Unity doesn't officially support Cursor yet.

My search to get it to work with unity often led me to tutorials about changing the mouse cursor — not quite what I was after. So, I thought I'd share my own experience on getting Cursor to play nice with Unity. Let's dive in, shall we?

Installing Cursor

Head over to https://www.cursor.com/ & just follow the instructions.

If you've been working with unity for a while, chances are you are using VS Code, and likely have a bunch of custom keybinds, themes, extensions etc already set up to your liking.

You can import your VS Code configuration into Cursor with one-click. Navigate to Cursor Settings > General > Account.

None

Go to Cursor > Settings > Extensions and make sure that these 2 extensions are installed and up to date.

None

Linking Cursor to Unity

Open Unity -> Window > Package Manager

  • Click the + in the left corner
  • select Add package from git URL
None
None
you should see something like this

go to Unity -> Preferences > External Tools > External Script Editor and select Cursor.

None

If you have VS Code or Cursor open, then close them. Go to Assets > Open C# Project

None

This should open up Cursor and if you give it a minute, it'll load up IntelliSense and also link into Unity's console.

Optionally, you can also add a prompt — This helps Cursor be more accurate with responses and completions.

In Cursor Settings > General > Account ensure that Include .cursorrules file is enabled

None
this should be enabled by default

Create a new file called .cursorrules and keep it in the root directory of your project.

Inside it, you can paste my prompt for Unity C# — or alternatively type your own.

Aaannnd that's a wrap! AI just made you a bit more productive.

If you followed the steps then you've successfully 1. Installed Cursor 2. Connected Unity to Cursor — with IntelliSense + Linked Console 3. Customised Cursor's rules to be unity specific and help you make games better, faster.

If you have any questions, suggestions, or wanna show off some cool games you've made, hmu on twitter. Cheers!