1

The question is as title says.

My settings:

Unity version: 2020.3.24f1 (it's the LTS)

VSCode version: 1.63.0

I got some extensions for VS Code: C#, VS IntelliCode (don't think this matters)

Things that I've done:

  1. https://forum.unity.com/threads/cant-get-vscode-to-work-properly-with-unity.538224/
  2. https://forum.unity.com/threads/intellisense-not-working-for-visual-studio-code.812040/
  3. Unity VSCode autocomplete Intellisense not working
  4. Installation issue with Visual Studio using Unity
  5. How to get Visual Studio to recommend unity codes
  6. Unity Scripts edited in Visual studio don't provide autocomplete
  7. VSCode with unity c# autocomplete problem
  8. Unity VSCode Intellisense not working in 2020 version

TL;DR -

I've set visual studio code as my external script editor, tried downloading mono editor + gtk thing, snippet tool is NOT what I want, restarted my computer HAHAHA, and few more that I can't even remember.

Please don't recommend other editors than VS Code because I see so many thread pointing to VS Community 2019 and I just can't see how VS Community solution is relevant to VS Code.

Thank you and have a wonderful day :)

Hyunwoo Lim
  • 303
  • 1
  • 13
  • 1
    Vscode has numerous posts on not working and seems to be more trouble than its worth. I guess people say vs community because its also free and isnt such a pain – BugFinder Dec 12 '21 at 00:15
  • 1
    VSCode is a pain in the ass to use with unity. I tried it for a while and it regularly broke even with no changes to my configuration whatsoever. You should really reconsider using VS Community or some other IDE like Rider. I personally use Rider and never looked back. – Nicolas Dec 13 '21 at 18:01

1 Answers1

0

i had the same issue i solved it randomly so i will tell you things i tried:

  1. uncheck all options in unity>edit>preferences>external editor>generate .csharp. i checked all of them because a youtuber told me but then i saw that input system and cinemachine namespaces wont work so i unchecked them, now it works, it also helped on autocomplete.

  2. download unitydev extension package from vscode extensions, this package has all the needed documents and snippets and autocomplete assets.

  3. try to regenerate files and reset argument, change editor to something else and see if it wont work there too!

  4. most important downgrade vscodes pakcage in unity package manager. i think i used 1.2.0 and it worked.

cigien
  • 55,661
  • 11
  • 60
  • 99
samangol
  • 26
  • 2