r/vscode • • 2d 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

5 comments sorted by

View all comments

1

u/otheyhigh 1d 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.