Intellisense Not Working with Visual Studio (Fix)

Thank You!!

Thanks Man it worked for me , I was having issue for color coding and Intellisense , and it solved it my colors are on point ,Thankssssss

This helped, thanks!

Thank you

This is what fixed it for me! Thank you!

thank you so much <3

Greatly appreciated.

If Visual Studio is the oficial solution for Unity then this needs to always work, I know 3 (small) companies who stopped working with this engine becuase of bs like this. It used to be so much better when monodevelop was around.

Hi I am using Unity 2020.1.0f1, VS 2019 Community 16.7.4, Unity Visual Studio 2.0.3 Plugin installed, External Script Editor is Visual Studio 2019. When i try to open the Script nothing happens. If I switch the External Script Editor to Open by file extension the Script opens in VS but intellisense don’t works.

I have no idea what i could do to make it work.

I’m in the same boat as mscheschy - Using:

Unity 2020.1.0b4
Visual Studio Community 2019 16.7.4

I’ve installed the ā€œGame development with Unityā€ extension and I have Visual Studio 2019 (Community) set as my default editor. When I click on a script VS 2019 opens just fine but I have no intellisense and no debug with Unity option. This worked perfectly a month ago until I upgraded my Visual Studio version.

I also noticed that if I open the Unity Hub (version 2.4.0) and try to ā€œinstalls > add modulesā€ and add Microsoft Visual Studio Community 2019 - the installer runs and completes but when I go back to modules it’s still unselected as if it never installed. May be a clue as to what’s going on.

Edit: I should note that Visual Studio Code DOES have intellisense - I just very much prefer VS 2019 over VS Code.

@mscheschy @saltysquid Thanks for sharing this info. I certainly want to help resolve this.

Can you use the Help > Report a Problem menu in VS to file these issues? In the meantime, I’ll investigate what I can on my end.

@DavidG_Fenex Thank you so much! works like a charm!

I am new to Unity and programming in general. I was having problems with intellisense not working but I resolved that inside the Unity ā€œpreferencesā€ by setting VS to primary Script Editor. Everything seems to work now, except when I type something out like a float variable, I don’t get a color change on the numbers and the scripts are not working as well so I know something is not working but I have no idea what is wrong. Even if I download a premade controller script, it still blacks them out.Please help! I have included images of my settings and what the code looks like. I am using VS community 2019 and Unity version 2019.4.11


I legit searched the whole web, tried 43 methods(yes, I counted), nothing worked… I now installed VS Code and the Unity Debugger and it works very good!
You saved me!:smile:

yay. i looked for hours at c# intellisense and packages / reinstalls etcetcetc …
This worked. totally mysterious.
Thank you

problem fixed here :

Thanks man ! It solves the problem with me after installing the last version (Unity 2020.1.8f1)

This just saved my day. I just reseted my windows and it was physically painfull to write every function inherited from a Unity Asset. This little guide should pop up after a fresh Unity installation.

it works. thank you. i have back intellisense

Fantastic. Thanks