microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.57k stars 29.01k forks source link

Unity + vscode #190722

Closed RogeGomez closed 1 year ago

RogeGomez commented 1 year ago

Type: Bug

Hi, I dont know what happend but I was working fine whit vscode and Unity (any version 2021 LTS - 2022 LTS) but now I can't make it work even with visual studio community, it's like unity it's not making a connection between the IDE's and Unity, I uninstall and reinstall VSCode and Visual Studio, with the same results, the only way I can see any change in my game is closing and opening the project again.

I really don't know what to do anymore.

VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 5 5600H with Radeon Graphics (12 x 3294)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.86GB (16.92GB free)| |Process Argv|C:\\Repos\\UCamp\\Unity\\Platformer2D -g C:\\Repos\\UCamp\\Unity\\Platformer2D\\Assets\\Scripts\\PlayerController.cs:1:0 --crash-reporter-id 2b31e902-410f-4f23-9308-d0e33893e426| |Screen Reader|no| |VM|0%|
Extensions (38) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 codesnap|adp|1.3.4 eppz-code|epp|1.2.52 auto-rename-tag|for|0.1.10 code-runner|for|0.12.0 vscode-csharp-snippets|jor|1.1.0 docomment|k--|1.0.0 unity-code-snippets|kle|2.2.5 csharpextensions|kre|1.7.3 fluent-icons|mig|0.0.18 theme-monokai-pro-vscode|mon|1.2.1 csdevkit|ms-|0.3.21 csharp|ms-|2.0.376 vscode-dotnet-runtime|ms-|1.7.0 vscodeintellicode-csharp|ms-|0.1.26 isort|ms-|2023.10.1 python|ms-|2023.14.0 vscode-pylance|ms-|2023.8.30 jupyter|ms-|2023.7.1002162226 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 material-icon-theme|PKi|4.29.0 synthwave-vscode|Rob|0.1.15 vscode-unity-debug|shi|3.0.13 indenticator|Sir|0.7.0 snappify|sna|1.0.2 code-spell-checker|str|2.20.5 code-spell-checker-spanish|str|2.2.0 ayu|tea|1.0.5 open-in-browser|tec|2.0.0 unity-tools|Tob|1.2.12 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 vstuc|vis|0.9.0 vscode-icons|vsc|12.5.0 material-theme|zhu|3.16.0 (5 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 vscorecescf:30445987 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 pynewext54:30695312 azure-dev_surveyone:30548225 vscccc:30803845 3biah626:30602489 f6dab269:30613381 2i9eh265:30646982 showlangstatbar:30737416 03d35959:30757346 pythonfmttext:30731395 pythoncmv:30756943 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 gsofb:30804716 pythonnosmt12:30797651 pythonidxptcf:30805731 pythonnoceb:30805159 dsvsc013:30795093 dsvsc014:30804076 diffeditorv1:30812748 ```
LiRWZ commented 1 year ago

+1 after update the C/C++ IntelliSense to the version 1.17.3, it does not work well, no Error Code Alert ANYMORE.

aeschli commented 1 year ago

\extC#

vscodenpa commented 1 year ago

It looks like this is caused by the C# extension. Please file the issue to the C# extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.

Happy Coding!