Every time I double click a script within unity, it opens a new instance of visual studio instead of creating a new tab within visual studio for the new script. This is really slow and driving me nuts lol is there a way to fix this so that all scripts that you open from unity create tabs within one instance of VS? As it is, I have to wait for visual studio to boot up every time I open every script…I dont know why this started doing this. Unity 2022 and VS 2019. Different versions of VS are still doing it, both newer and older.
I’ve installed version 2.0.22 and I’m experiencing the same problem when I click on any error debug on the Unity console. It keeps opening a new instance of VS2022 with the file that raised the error, it should open the file on the current instance of the IDE I suppose. Thank you for your time!
I’m sorry, adding another answer here since I think I’ve found a possible cause (or at least a way to reproduce the issue).
if I set the VS2022 “Solution Explorer” to “Folder view”, every time that I open a file from Unity it launches a new instance of VS. In the new instance, if I keep the default “solution explorer” view, it works as expected.
I’m trying to have a setup similar to VSCode so I want to have the Solution Explorer with the Folder View visible to select files… is there a better way to have the list of files visible?
I did fix it but unfortunately I can’t remember how lol hopefully someone else can chime in here. I’m using Visual Studio Code now, not sure if that is relevant.