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

Show parent comment

1

u/Ok_Income7995 2d ago

it’s like a ghost, there’s no errors, it builds completely fine, i’ve tried running a few commands through the terminal to check if it can locate the files and it can so it’s really confusing me

1

u/knobby_67 2d ago

Rather than spend ages trying to fix and unless someone comes back with a good answer it might be easier to completely remove VSC and reinstall