My script isn't open in Visual Studio 2019

So when I double click on a script in Unity 2019.3.0 to open it up on visual studio 2019 it opens up visual studio and is supposed to open the script on it, but it doesn’t. I’ve checked that vs is set up for unity and c# and vs says the name of my project in unity in the top right hand corner.
Any help would be greatly appreciated. Thank you.

1 Like

I’ve seen this happen with VS2017, it can be resolved by opening the ‘Solution Explorer’ from the ‘View’ menu and selecting the file name.

I haven’t tried this with VS2019 but it’s worth a try.

@aspy523 Is the com.unity.ide.visualstudio package up to date? You can check via the Package Manager UI.

I believe this is up to date

This did it. Thank you!

1 Like