I have Windows 10 Home 64-bit using Visual Studio 2017 Community and Unity 2017.1.
I installed Unity with a pre-existing installation of VS 2017. I loaded Visual Studio from Unity, but it cannot debug the project (no “Attach to Unity” button). I uninstalled Unity and reinstalled it, this time checking to install VS 2017. This did not change the situation. This occurs when VS is run as an administrator as well.
I cannot find a VSTU version beyond VS 2015: Visual Studio 2015 Tools for Unity - Visual Studio Marketplace
Visual Studio can't "Attach to Unity" - Unity Engine - Unity Discussions, which was resolved by having Xamarin, but I don’t and never had Xamarin on this computer.
Visual studio can't attach to unity editor. - Questions & Answers - Unity Discussions, but I have the latest version of VSTU and the unity executable is already called Unity.exe (with .exe being the file extension, not part of the filename, of course).
Here are my two options thus far:
- I can revert to VS 2015 and try VSTU tools (which I cannot do for other reasons).
- I can revert to MonoDevelop and see if it can’t natively debug Unity.
Please read everything above. Surely somebody else has had this problem.