Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Problem while launching Visual Studio

Discussion in 'Scripting' started by rodandres0501, Aug 19, 2020.

  1. rodandres0501

    rodandres0501

    Joined:
    Aug 2, 2020
    Posts:
    8
    I've just added another project to Unity HUB and when I try to open a script Unity doesn't launch Visual Studio, it doesn't do anything. I looked into preferences and it is configurated to open the scripts with visual studio. I open another project, which I already had and it works correctly, when I try to open a script in that project, Unity launches correctly Visual Studio so I don´t know what is happening.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    39,445
    Try hitting the menu Assets -> Open C# project

    If that fails, delete the .csproj and .sln and other visual studio crud in the root of your project and try the above again. Unity is supposed to recreate those on demand and if they get borked in some way, this can happen.
     
  3. rodandres0501

    rodandres0501

    Joined:
    Aug 2, 2020
    Posts:
    8
    I will try that, thank you very much