Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Vscode omnisharp autocomplete isn't working

Discussion in 'Code Editors & IDEs' started by V01d_X, May 7, 2022.

  1. V01d_X


    Jul 12, 2021
    I am having an issue with the omnisharp autocomplete not working in vscode. I checked another one of my projects and it was still working completely fine in vscode. In the project where it does not seem to work the omnisharp console says,

    System.ArgumentException: OmniSharp only supports being launched with a directory path or a path to a solution (.sln, .slnf) file.

    Then it has,

    'CodeTesting.sln' is not recognized as an internal or external command,
    operable program or batch file.

    This results with a error of,

    [ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

    I've looked around for any solutions already but nothing so far has helped.

    Edit: I have moved what little I had in the project at the time to a new project and it works fine.
    Last edited: May 7, 2022