Search Unity

cannot open a script file via visual studio in unity 2020

Discussion in 'Editor & General Support' started by ExcellencyHong, Jul 30, 2020.

  1. ExcellencyHong

    ExcellencyHong

    Joined:
    Aug 9, 2016
    Posts:
    33
    i did install the unity3D 2020 ver.

    and i did try to open cs file in editor,

    then, nothing to happen.

    i had try some ways.

    1. to delete and reinstall Visual studio Editor package.
    2. to delete and reinstall Visual Studio Extension for integerating the unity.
    3. to delete and reinstall Unity3D Editor 2020 ver.

    but, still nothing happen.
     
  2. Hi_ImTemmy

    Hi_ImTemmy

    Joined:
    Jul 8, 2015
    Posts:
    174
    Is your Unity setup to use Visual Studio? Check your preferences under Edit > Preferences > External Tools

    upload_2020-7-30_14-7-17.png
     
  3. ExcellencyHong

    ExcellencyHong

    Joined:
    Aug 9, 2016
    Posts:
    33
    hi,

    i did check that already.. but, still not work.
     
  4. Thunderbom

    Thunderbom

    Joined:
    Apr 22, 2020
    Posts:
    1
    I have the same problem. It was OK with all 2019 versions of Unity. But after installing 2020 it don't opening Visual Studio for editing scripts. In Preferences there is a strange symbol between "Community" and "2019"
    upload_2020-8-5_13-8-35.png
     
  5. sevdigim1451

    sevdigim1451

    Joined:
    May 2, 2020
    Posts:
    42
    Me too. I have this issue!
     
  6. Liam84

    Liam84

    Joined:
    Sep 23, 2020
    Posts:
    1
    If you have visual studio on your computer, Simply delete the "Visual studio editor" package and that's it.
     
    StormworksWK likes this.
  7. sevdigim1451

    sevdigim1451

    Joined:
    May 2, 2020
    Posts:
    42
    Thank you for reply. I solved this problem, I deleted visual studio and after i reloaded it, it worked.Thank you for answer again.