Search Unity

Resolved Visual Studio Editor Errors

Discussion in 'Scripting' started by siddharth3322, Apr 10, 2021.

  1. siddharth3322

    siddharth3322

    Joined:
    Nov 29, 2013
    Posts:
    1,049
    I don't know why but my Visual Studio Editor showing me continuous errors like this kind of:

    visual studio editor error.png

    Today I am getting this continuously, I have installed Visual Studio multiple times but the same problem is coming again and again.
    At present, I have installed Visual Studio Version 8.9.5.4
    One more thing, I am using iMac with Mac OS as the operating system.

    How to remove these errors?
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,697
    Keep in mind errors reported by Visual Studio are utterly irrelevant. What Unity says is what counts. You can use notepad to edit source files in a pinch.

    But if you're having issues, this might help:

    This may help you with intellisense and possibly other Visual Studio integration problems:

    https://forum.unity.com/threads/intellisense-not-working-with-visual-studio-fix.836599/

    Also, try update the VSCode package inside of Unity: Window -> Package Manager -> Search for Visual Studio Code Editor -> Press the Update button

    Also, this: https://forum.unity.com/threads/no-suggestions-in-vscode.955197/#post-6227874
     
  3. siddharth3322

    siddharth3322

    Joined:
    Nov 29, 2013
    Posts:
    1,049
    After updating Visual Studio Editor within Package Manager Visual Studio Editor-related problem solved out.
    visual studio editor.png

    This package I required to upgrade.
    @Kurt-Dekker Thank you, Sir, for your useful suggestion because all scripts started showing problems like my previous screenshot so it becomes difficult for me to work.