Visual Studio not working correctly with Unity
I'm very new to Unity so bare with me.
It seems like Visual Studio isn't working as intended with Unity for me. When I double-click on a script, VS opens up just fine, but
I'm supposed to be able to see a "Attach to Unity" button in the middle of the VS dashboard, but there's only the "Attach..." button.
There isn't a Build context menu (you know File, Edit, View) which I'm supposed to see.
In the Unity context menus Assets -> Import Package there's supposed to be a Import Visual Studio option, but there's nothing.
This may seem minor, but it's really hard to find errors if I can't build and debug my game. I have tried reinstalling both VS and Unity but it doesn't work. What's going on?
Did you generate your solution with Unity ? (Assets -> Open C# Project)
@Brittle-Cornflakes Did you check the $$anonymous$$icrosoft Visual Studio Tools for Unity in the download assistant when you installed Unity ?
@corn Yes! Not the first time, but when I reinstalled VS I did.
Answer by Jason-Olsan-Glu · Jun 15, 2016 at 06:56 PM
If you have Xamarin on your system, the most current version of Xamarin is blocking attachment to the debugger. Removing it for me allowed the debugger to attach again. The VSTU team is aware of it and working on a fix. :)
Thanks, but unfortunately no, I don't have Xamarin on my system.
Your answer
Follow this Question
Related Questions
Unity 5+ compatibility with VS2012 - ? 0 Answers
Variable not updating/saving ! 1 Answer