Suddenly My Visual studio is giving me 100s or thousand errors saying it doesn't recognize "System"

The basic stuff like “System” , “monobehaviour” words
So basically it doesn’t work and i can’t create scripts cause for some reason it went crazy and i alreay did this
=Used the Installer and use the FIX button to fix visual studio, didn’t solve it
=Deleted my project and recreated and new one, didn’t solve the problem
= So what’s left to do?

I’m using Visual studio 2019 and Unity 2021.1.21f

Oh and here’s a shot…it basically is saying it doesn’t recognize any of the basic keywords

Update someone told me to try upgrading my .NET framekwork. i did, i got the latest which includes 4.71 and still the errors continue. no solution . what is hapening?

I also was going to upgrade my NET SDK but i noticed i already has 5.0404 which is the latest for Visual studio 2019(the one i have) so i didn’tneed to get it

This may help you with intellisense and possibly other Visual Studio integration problems:

Sometimes the fix is as simple as doing Assets → Open C# Project from Unity. Other times it requires more.

Also, try update the VSCode package inside of Unity: Window → Package Manager → Search for Visual Studio Code Editor → Press the Update button

Also, this: No suggestions in Vscode

1 Like