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. Dismiss Notice

Plz Help Scripts cannot opened by VS

Discussion in 'Scripting' started by Terrific_RainingDay, Aug 27, 2020.

  1. Terrific_RainingDay

    Terrific_RainingDay

    Joined:
    Aug 27, 2020
    Posts:
    2
    I am new with Unity and visual studio. I found my scripts cannot be opened by double clicked the scripts in the unity IDE. I only can open them by directly open the .sln outside the asset folder. The VS version is VS2019 community 16.7.2 and unity version is 2020.1.2f1c1. Another info is if I set external editor to be "Open by file extension", then the double click works, however the .sln is not generated for my scripts and thus auto-complete in VS failed. Do anyone know how to fix it? plz help
     
  2. Terrific_RainingDay

    Terrific_RainingDay

    Joined:
    Aug 27, 2020
    Posts:
    2
    For open by file extension. I already checked the generate .csproj box and it's still not working