
I restarted, restarted, restarted, edited files, saved, restarted, went to Unity, restarted. I scrolled through C# settings, scrolled throuch Unity settings in VSCode, I looked for other Extensions that might do the trick, I disabled and enabled back on each and every Extension, I installed the Package in the Packet Manager, I tried restarting the program after I removed the.

I tried restarting OmniSharp, I tried findind error messages in the output window (it is EMPTY), I put that in a folder in my project root: In this case, near the bottom of the vs-code window, in the status bar, there should be button to the right of a fire icon that allows you to select your Unity. In vs-code, CTRL+Shift+P opens the command pallete, then select "Omnisharp: Restart Omnisharp"Ħ. Sometimes Omnisharp just needs to be restarted. Error: Command failed: dotnet -versionĥ. This is the error you'll see in the Omnisharp Log: The best way to do this (IMO) is to create a symlink to your /usr/local/bin/ directory, explained here. If you have a recent version installed and it's still not working, you may need to add it to your path.

#UNITY VISUAL STUDIO CODE 2019 INSTALL#
If you're on MacOS, you'll need to install a recent version of Mono: Open the terminal (CTRL+~), select the "Output" tab, and choose the "OmniSharp Log" from the drop down. If your intellisense suddenly stops working in vs-code, this could be the issue. However, OmniSharp has it's own requirements, such as specific. The C# extension relies on the OmniSharp server ( ) to work, which is installed with the C# extension (no additional installation/download required). Visual Studio Code relies on the C# extension ( ) to provide intellisense, formatting, etc.

Make sure you have the Visual Studio Code Editor package added to your project (as the Unity folks mentioned)Ģ. For folks having this problem with vs-code, here's a few troubleshooting steps:ġ.
