Friday, October 28, 2022

Using Visual Studio Code as external editor for Unity

If you're having trouble getting intellisense to work, or having C# build errors in VS Code, then you might need to change some settings via the OmniSharp (C#) plugin.


OmniSharp now defaults to omnisharp.useModernNet to true. Which is an issue Unity projects. Discussion here if you're into deep diving.


If you go to Preferences | Settings | Workspace in Code then type modern in the search box


 

Deselect Omnisharp: Use Modern Net 

and you should be good to go. It might require closing and reopening Code and regenerating project files in Unity.

No comments: