r/vscode • u/Ok_Income7995 • 15h ago
Unity C# errors
for the past day when i’ve opened up any scripts from my unity project it’s showed red lines under basically everything. The only thing that will fix it is selecting “Prefer C# Extension” in settings but then that disables intellisense and my unity plugin. I’ve tried nearly everything like regenerating project files, re installing it aswell as the plugins and nothing will work. Please help me because this will kill me if i can’t fix it
1
Upvotes
1
u/knobby_67 15h ago
Tell us faults, is, does it build?
1
u/otheyhigh 8h ago
If you hover over the errors, the tooltip should have the source of the error. It most probably is an incorrect linter, language server or formatter that is running and needs to be disabled.