1

After updating to v1.23.3 omnisharp in VSCode, I'm getting thousands of errors for broken references to commonly used namespaces in Unity.

What I've tried so far:

-Regenerating the project files in the External Tools section of preferences

-deleting .vscode folder in project

-reinstalling Omnisharp

-putting "omnisharp.useGlobalMono": "always" in config file (omnisharp changelog mentions this for Unity)

Screencap:enter image description here

1 Answer 1

1

Rolling back to the previous version appears to be the only solution for now

I found that you can do this by going to your extensions in VSCode and clicking the gear icon to the bottom right of the Omnisharp extension and then selecting "Install Another Version..." from the context menu.

3
  • 1
    Same problem here today. Could something have changed specifically to the project files during this update? I'm currently working in two Unity projects, and one of them seems to have been corrupted by this change, but the other remains untouched, same unity version, same environment, only the projects differ to my knowledge.
    – BagoDev
    Oct 15, 2020 at 5:03
  • @BagoDev have you tried regenerating your project files in External Tools? If you haven't, in Unity go to Edit => Preferences => External Tools, and there should be a button that says "Regenerate project files". If you click this, it should force VSCode to reconfigure when you start it back up. Usually solves a lot of my issues with broken references and config settings etc.
    – djweaver
    Oct 15, 2020 at 5:52
  • yep was one of the first things I tried to no avail.
    – BagoDev
    Oct 16, 2020 at 7:48

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.