Reputation: 55
When I open any c# script from Unity in VSCode, the output windows display this error:-
Output window message:
I have seen several posts that said to add the windows\System32 directory to the environment path variables. I already had it added, but still, I get this error. Due to this I am not getting Intellisense while coding in c# and while making scripts in Unity, which is very inconvenient. Here's my environment path variables...:
Path Environment Variables
PS: I have a multiboot OS with windows 7 ultimate being the one in which I have installed Unity and VS Code, and all my stuff, and that is on E drive(so the path E:\Windows\System32). I will provide any other relevant information [that is in case if required].
Upvotes: 2
Views: 1518
Reputation: 812
Just add C:\Windows\System32
to you PATH
environment variable and restart VS Code.
Worked for me, hope it works for you also ;)
Upvotes: 3