Unity 4 and Visual Studio 2012

Unfortunately the Unity3D developers have not yet seen fit to setup Unity Editor to work with Visual Studio 2012 and so one has to do a little work to get it setup manually. Here is how to get it working.

  1. Recently Microsoft bought and re-released the popular Unity3D plugin UnityVS. The now renamed Visual Studio Tools for Unity plugin smooths the connection between Unity and Visual Studio and even allows one to perform debugging too! Download it here.
  2. In Unity Editor go to Edit->Preferences->External Tools and In External Script Editor choose Browse from the drop down box.
  3. Browse to and select C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe.
  4. The External Script Editor should automatically show your selected editor as Visual Studio 2012.

That’s it! It should just work from that point on.

 


Posted

in

by

Comments

3 responses to “Unity 4 and Visual Studio 2012”

  1. Hi, Scott. I don’t know if you’re already aware of that, but the former UnityVS plugin was acquired by Microsoft and they just released the first free version of it as an official Visual Studio extension called Visual Studio Unity Tools: http://blogs.msdn.com/b/visualstudio/archive/2014/07/29/visual-studio-tools-for-unity-1-9.aspx.

    1. Scott Richmond

      Thanks Frederico. I have updated my post.

  2. It’s also worth noting for those of us that can’t afford paid tools at the moment that whereas the Visual Studio Tools for Unity weren’t compatible with VS Express Edition, they are compatible with VS Community Edition which is also free (and they work with the free version of Unity).
    http://www.dphsw.co.uk/blog/?p=190

Leave a Reply

Your email address will not be published. Required fields are marked *