Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Summary
On a local Windows single-root Unity C# workspace (not WSL, not multi-root), Find All References cannot open a referenced .cs file that has not been opened in the current session.
The toast / error is:
Steps to Reproduce
The target file is ~16 KB / ~385 lines, far below the 50 MB sync limit. The file:/// URI uses a percent-encoded Windows drive letter (e%3A = E:).
This looks like the same class of bug as:
- "Files above 50MB cannot be synchronized" on small local files in multi-root workspace (not WSL)
- `anysphere.remote-wsl` deterministically rejects `openTextDocument` for certain WSL files with "Files above 50MB cannot be synchronized with extensions" — files are <2 KB, plain VS Code with `ms-vscode-remote.remote-wsl` on the same workspace works fine
Those reports were WSL / macOS multi-root / Linux. This repro is local Windows + single-root folder + C# Find All References.
Environment
- OS: Windows 10 (10.0.19045), local disk, no WSL / SSH / Remote
- Workspace: single-root folder (
E:\unityP\ET2\20260706), Unity C# project - Cursor: 3.16.24 (stable)
- VS Code version: 1.128.0
- Commit: 1da364a6e1b9a7f7caabc58cecc5766c173673b0
- Language: C# (Unity). Triggered from the editor context menu 查找所有引用 / Find All References (
Shift+Alt+F12)
Please treat the version numbers as “from Help → About on this machine”; I can paste a screenshot if needed.
Repro steps
- Fully quit Cursor and reopen it.
- Open the single-root Unity project.
- Open
Assets/src/HotelGame/HotelWallet.cs. - Do not open
Assets/src/HotelGame/TriageReceptionistHirePoint.cs. - Place the cursor on a referenced symbol (e.g.
TrySpendCost/GetBalance/AddPendingSpend) and run Find All References. - Click a result that points to
TriageReceptionistHirePoint.cs(or wait for the extension to open that file).
Expected
The small .cs file opens and the reference location is shown.
Actual
Cursor refuses to open the file with:cannot open file:///e%3A/…/TriageReceptionistHirePoint.cs. Detail: Documents above the size limit cannot be synchronized with extensions.
Operating System
Windows 10/11
Version Information
Version: 3.16.24 (user setup)
VS Code Extension API: 1.128.0
Commit: 1da364a6e1b9a7f7caabc58cecc5766c173673b0
Date: 2026-08-15T21:42:10.610Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.19045
Does this stop you from using Cursor
No - Cursor works, but with this issue