UnityVS cannot attach to Unity Editor - Visual Studio 2013 Community Edition

。_饼干妹妹 提交于 2020-01-04 02:55:12

问题


I have bought UnityVS and it was working well with VS2010. Later Microsoft aquiared their company and now UnityVS is a free plugin with one difference: it is much more unstable.

I had several issues with new updates and finally I decided the move to completely new version which is called "Visual Studio Tools for Unity" instead of UnityVS.

I am using Microsoft Visual Studio Community Edition 2013 Update 4 (which is actually a VS Professional). Everything looks good but it attached to the process because the plug icon on lower right corner tells me it is attached to Unity Editor (My version of Unity Editor is 4.5.5f1). However when I click on "Attach to unity" button it only compiles and then does nothing (it doesn't lock). As a result I am unable to debug because it doesn't hit any breakpoint.

Please somebody help me because even their support page doesn't show any useful link to talk with them (It is Microsoft anyways!)


回答1:


After several hours I found a solution! The only this I did was to double click on the plug icon in lower right corner of visual studio and clicked on the custom IP and then instead of 192.168.0.xxx (My IP) I entered 127.0.0.1 and for the port I used the port that is shown already for the unity instance. That's it. :)



来源:https://stackoverflow.com/questions/26946164/unityvs-cannot-attach-to-unity-editor-visual-studio-2013-community-edition

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!