VS code not auto-completing like it does in the lecture videos

I’m working on the unity 2D course and overall it’s going great, but my VS code setup isn’t quite right. I’ve followed the setting up video, installed the extentions, and double checked it. But it’s not auto-completing when I type code, and it’s not underlining things either, for example when I try to use a class without entering it at the top with ‘using’. I’m not sure what I’m missing and any help is much appreciated

Hi Ben,

Please follow the instruction on this website and make sure all required extensions are installed: https://code.visualstudio.com/docs/other/unity

If the issue persists, please check the console of VS Code (not Unity!). If the .NET Framework 4.7.1 (Developer Pack) is mentioned there, download and install it from the official Microsoft website. Here is the link: https://dotnet.microsoft.com/download/dotnet-framework/net471


Install and use Visual Studio (Community Edition). For some students, VS Code simply does not work well. Maybe due to a problem with Unity, some update or whatever.

  1. Download VS and follow this instruction.
  2. Select VS as your External Script Editor in Unity (Edit > Preferences > External Tools).
  3. Install the “Visual Studio Editor” package in the Package Manager.

That should work. :slight_smile:


See also:

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms