Hi,
I’m running VS 2017 and any time I try to debug with multiple instances of Unity running, I am unable to connect the debugger. The “Select Unity Instance” dialog pops up, but doesn’t list any of the running instances of Unity. If I close all other Unity instances it will connect to the single instance and the debugger works normally.
Associated tool versions:
VS 2017: 15.9.16
VSTU: 3.9.0.3 (the change log lists 4.3.3.0 as the newest but Visual studio has no available updates)
Unity 2019.2.8f1 (also happens with all other versions of 2019 that I tried)
For what it’s worth, I’ve been encountering this too. Visual Studio Community 2017 and Unity 2019.2.0f1. I’m running both Unity instances from the same project via sym-links (uEcho tool) for doing multiplayer development.
This thread is well over a year old, turned out to be a known issue, and isn’t an issue with newer Unity or VS versions. Might I advise reading the entire thread and check the dates before replying?
If you look at my earlier reply, specifically the link to the MS forums, that explains the issue. Sadly there wasn’t any resolution for VS 2017. The only way around it was to upgrade to VS 2019. Since then, the way Unity integrates with VS has changed as well. I don’t recall which version of Unity in which this was first supported, but there’s also a package you can download within Unity that enhances VS support.
But that reply was incorrect. Visual Studio 2017 debugging has not been broken since Unity 2019. I’m not surprised Microsoft said the solution would be to give them $600 to upgrade to a newer version of their software
Not that it is all that helpful but, this also only started for me when I upgraded from 2019.4.26f1 to 2020.3.18f1, and before that VS2017 worked just fine.
same upgrade path for me (like vdogamr): I upgraded Unity from 2019.4.32f to 2020.3.22f1 and before that VS2017 could find unity instance easily. Now VS can’t find Unity any more.
So for Unity 2020 I need to upgrade to VS 2019 or later, to have the plugin work?
Hopefully Unity 2020 will also launch 2019 for the when opening the C# within it, and the ongoing game in Unity 2018 with VS 2017 will keep doing it also, or things will get very complicated for any dev with multiple projects on their plate…