79613791

Date: 2025-05-09 09:00:31
Score: 0.5
Natty:
Report link

My case is that the .csproj declaration generated by Unity is always UTF-16, while the encoding is UTF-8, which leads to the problem in the question.

The solution is to go to VSCode and uncheck preferCSharpExtension.

In VSCode, Ctrl + Shift + P — "Open User Settings" — Search for "preferCSharpExtension" — Uncheck both User and Workspace settings.

VSCode Settings Screeeshot

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Low reputation (1):
Posted by: JoyYoutuLee