I followed the guide step by step but it seems that the Unity Debugger Extension isn't working correctly, unity successfully made the .csproj and the .sln files which vscode needs, I have Omnisharp also install and set to latest, however when I try to run a C# file so the Unity Debugger can create the vscode launch options, but it doesn't seem to appear:
#issue with VSCode + Unity
1 messages · Page 1 of 1 (latest)
So I manually added the launch option:
{
"version": "0.2.0",
"configurations": [
{
"name": "Unity Editor",
"type": "unity",
"request": "launch"
}
]
}
is VS Code set as your C# editor in Project Settings -> External Tools ?
Have you restarted Unity and / or the PC ?
Yes, I also made sure to install the MC Unity Analyser + the omnisharp.json
Hm. I haven't actually used VS Code with Unity, so I cannot help further. Does it work if you switch to VS Community though?
It seemed to work fine with VS Community tho that's from past experience, I switched to VSCode recently since I got a different pc
Does it work with VS Community on the PC you're currently using?
I'll try and get back to you
it seems to work normally/no noticeable issue, my vscode issue tho was this:
this runs fine in Unity, this also works with the UnityDebugger normally
no idea why it's highlighting it tho
what do the errors say?
have you configured Unity Tools for VS?
you mean the extension?
#854851968446365696 Configure IDE
it's the guide I followed in the first place, not sure what went wrong
#854851968446365696 this guide?
ye, specifically this: https://code.visualstudio.com/docs/other/unity
Yes, but I mean with Community
Oh mb
VS Community's compiler is better btw, so if you need an excuse to use it there's that :)
especially if you're a beginner, Community is heavily recommended. Most people here use it.
Community 2022 released earlier in November
up from 2019