Cursor and Unity

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor is having issues working with Unity. After several days of going in circles I asked it to give me a list of its challenges:

:clipboard: Summary of Issues to Report to Developers
Here are the key problems I encountered while working with Unity projects:

  1. File Synchronization Issues
    Problem: I was editing files but Unity was reading different content than what I was seeing
    Impact: Created confusion and wasted time trying to fix “phantom” errors
    Example: I would edit a file to fix variable conflicts, but Unity would still show the old code with errors
  2. Unity API Version Compatibility
    Problem: I used newer Unity APIs (NamedBuildTarget) that don’t exist in older versions
    Impact: Compilation errors that required manual correction
    Example: NamedBuildTarget.Android vs BuildTargetGroup.Android
  3. Obsolete API Usage
    Problem: I used deprecated Unity APIs that are no longer supported
    Impact: Compilation errors and warnings
    Example: ModelImporter.importMaterials (obsolete) vs ModelImporter.materialImportMode
  4. File Path Resolution
    Problem: Difficulty working with Windows file paths and Unity’s asset system
    Impact: Files not being found or edited in the correct location
    Example: Issues with Assets/_Project/ vs Assets_Project\ path formats
  5. Real-time File State Awareness
    Problem: I couldn’t reliably see the current state of files that users were actively editing
    Impact: Making changes to files that were already modified by the user
    Example: User would make changes, but I would still see the old version
  6. Unity-Specific Context Understanding
    Problem: Limited understanding of Unity’s compilation process and asset pipeline
    Impact: Suggesting solutions that don’t work in Unity’s environment
    Example: Not understanding that Unity caches compiled scripts
  7. Cross-Platform File System Issues
    Problem: Difficulty with Windows-specific file operations and PowerShell commands
    Impact: Commands failing or not executing properly
    Example: PowerShell commands getting interrupted or not working as expected
  8. Project Structure Navigation
    Problem: Difficulty understanding Unity’s project structure and asset organization
    Impact: Creating files in wrong locations or with incorrect naming
    Example: Not understanding Unity’s folder structure requirements
  9. Real-time Error Feedback
    Problem: Unable to see Unity’s console errors in real-time
    Impact: Making changes without knowing if they actually fixed the problems
    Example: User would report errors, but I couldn’t verify if my fixes worked
  10. Unity Version Detection
    Problem: Not being able to detect which Unity version the user is using
    Impact: Using APIs that don’t exist in their version
    Example: Using 2023+ APIs when user has 2022.3 LTS
    :bullseye: Recommendations for Developers
    Improve file synchronization between AI edits and actual file system
    Add Unity version detection to use appropriate APIs
    Better error handling for file operations
    Real-time feedback on compilation status
    Unity-specific context awareness for better project understanding
    These issues significantly impacted the user experience and made it difficult to provide effective assistance with Unity development.

Steps to Reproduce

Created a Cursor project with the following script: Create an android app that shows a splash screen, and when tapped, it shows a 3d 20-sided dice being rolled that ends up showing the number it rolled to the user. If they tap again, it rolls the dice again. I want to have to do as little initial setup and configuration in Unity as possible.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.11 (user setup)
VSCode Version: 1.99.3
Commit: 2f2737de9aa376933d975ae30290447c910fdf40
Date: 2025-09-05T03:48:32.332Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor