Search Unity

Question I can't open c# scripts

Discussion in 'Editor & General Support' started by Rafity02, Jan 14, 2021.

  1. Rafity02

    Rafity02

    Joined:
    Jan 7, 2021
    Posts:
    3
    I can't open c# scripts, when I click on the inside Unity. Outside Unity they open in Visual Studio, but inside nothing happens.
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,911
    Try following the steps in this thread: VS IntelliSense fix

    That thread is about intellisense but it includes steps on making sure Unity opens your CS files with Visual Studio.
     
    Joe-Censored likes this.
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    PraetorBlue likes this.
  4. Rafity02

    Rafity02

    Joined:
    Jan 7, 2021
    Posts:
    3
  5. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    When you check this, what is it currently set to?
     
  6. Rafity02

    Rafity02

    Joined:
    Jan 7, 2021
    Posts:
    3
    At this point, the unit stops working completely, after a while after starting it the screen goes black and this error appears: https://imgur.com/vpqTpCl