Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

When ever I try to open a script in Unity using Visual Studios, I just get this blank screen.

Discussion in 'Editor & General Support' started by TheBreadPerson, Aug 6, 2021.

  1. TheBreadPerson

    TheBreadPerson

    Joined:
    Aug 6, 2021
    Posts:
    11
    I am trying to follow along with a tutorial for basics in C#, but i cant open scripts. It takes me to VS, but then theres no starting code, no place to write code, or anything. Its just the toolbar at the top. (See image below)
     

    Attached Files:

  2. TheBreadPerson

    TheBreadPerson

    Joined:
    Aug 6, 2021
    Posts:
    11
    Fixed! I just had to open VS Code, File, Open, and then locate the folder in which you store your Unity games. Open that, go to assets, scripts folder and open your script.