Unity 4 and Visual Studio 2012

Posted by & filed under Game Development.

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.

 

3 Responses to “Unity 4 and Visual Studio 2012”

  1. David

    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

    Reply

Leave a Reply