I recently installed Cursor to try and see if there’s a good Unity workflow.
When searching online, besides the .git package to let Unity find Cursor as an IDE, there’s not a whole lot more to find.
I’d like to create a topic where we can collect useful data for Unity developers, so that they (and me) can get the best out of their experience.
You got the github package:
From default, it seems that Cursor cannot index the project, I tried DotRush that works well, but renders CodeLens unavailable.
I’m experimenting with some settings in the .cursorignore, .editorconfig and .mdc files to make the experience better, I’ll post my findings here if I find a good setup.
Is there anyone who already figured it all out, and would like to share their setup?
.cursorignore to exclude Library/, Temp/, Logs/, Build/, obj/, *.meta, and other generated Unity junk from the index. This helps a lot on big projects: Ignore files | Cursor Docs
For the C# language server, DotRush vs C# Dev Kit or OmniSharp is a real trade-off, especially around CodeLens. This related thread about the C# extension on older hardware might be useful for context: Running c# extension on older hardware without .net 9 support