❔ Visual Studio Code doesn't highlight a syntax error in C# (with Unity)
I have the Unity Debugger and C# plugins, and still nothing comes up. I know it is an error becasue when I load the file in unity the compiler notifies me instantly. I tried looking online but I can't figure it out, can anyone help?
12 Replies
Unity support for VSCode is legacy and should not be used
damn, what should I use instead?
Either Visual Studio Community 2022 (free) or Rider (paid)
awe.. I see. vscode is so nice though, a shame.
thanks
Unity plugin was part of a hackathon years ago, really weird though that Unity played it off as it was supported.
Also make sure you change this
$unitybug
If intellisense is not working for VSCode / Visual Studio, follow these steps.
Close the editor and re-open it again by double-clicking a script file.
really? 1.6 mil downloads from a hackathon plugin
I downloaded another plugin that should work good but no luck
gotcha
well that's disappointing, wish I could've made it work
thanks for the help
There is however a fork of it.
https://github.com/Chizaruu/com.tsk.ide.vscode
But that also means there's no direct support.
what is that?
Community-ran Unity plugin for VSCode.
oh, that can't be downloaded from the plugin section in the IDE?
ooh I can try that
it was updated just 2 days ago seems good
maybe it's not the best idea long-term but...
update: managed to get it working w/o any need for a plugin - just a reinstall!
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.