I download new version of Unity which is 2020.1 and ı create a new project. But Visual studio not opening when i click scripts. Scripts are not opening even with notebook. There is just a loading icon a few seconds on mouse and thats it. No error or something. I look the external script editor, and it’s visual studio.
I tried to change other tool and visual studio back, and browse the visual studio file but it didn’t work.
I also tried to delete “.sln” and “.csproj” files, update visual studio editor and visual studio code editor, update visual studio to, but nothing is changed.
Before all of this i was using Unity 2019.2 and everthing was fine.
How can i fix this?
If you use SQL Server read this:
I had this problem, removed and installed multiple versions of Unity as well as packages and Visual studio tools for Unity, updated VS to latest version, nothing changed. Finally, I found that if Sql Server Management Studio (SSMS) is open, then Unity will send “request to open file” to SSMS, just close it and you’re fine.
Hope it helps
I fix it.
I just delete the “Visual Studio Editor” package and scripts are opening when i click it.
In my case I just had to update the Visual Studio package in the Package Manager
I still gets lots of issues when upgrading to a new version of unity with the visual studio editor.
I tried all the common workarounds
- Package Manager Visual Studio Editor etc updates
- Remove the project sln files on the unity project root
- Tried regenerating project files from the project settings
All not working
Only thing it leaves me with is a full install
- Remove Unity Versions
- Remove the Visual Studio from Add Remove Programs in Windows
- Install the version
Its much slower update but gets the job done!