UnityVS无法附加到Unity Editor-Visual Studio 2013社区版 [英] UnityVS cannot attach to Unity Editor - Visual Studio 2013 Community Edition

查看:511
本文介绍了UnityVS无法附加到Unity Editor-Visual Studio 2013社区版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经购买了UnityVS,并且与VS2010兼容.后来,微软收购了他们的公司,现在UnityVS是一个免费的插件,但有一个区别:它更加不稳定.

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.

我在进行新更新时遇到了几个问题,最后我决定改用全新版本,称为"Visual Studio Tools for Unity",而不是UnityVS.

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.

我正在使用Microsoft Visual Studio Community Edition 2013 Update 4(实际上是VS Professional).一切看起来不错,但它已附加到该过程中,因为右下角的插头图标告诉我它已附加到Unity Editor(我的Unity Editor版本是4.5.5f1).但是,当我单击附加到统一"按钮时,它只会编译,然后什么也不做(它不会锁定).结果,我无法调试,因为它没有遇到任何断点.

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!)

推荐答案

几个小时后,我找到了解决方案!我唯一要做的就是双击Visual Studio右下角的插头图标,然后单击自定义IP,然后输入192.168.0.xxx(我的IP)而不是192.168.0.xxx(我的IP),并输入我使用的端口统一实例已经显示的端口.而已. :)

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. :)

这篇关于UnityVS无法附加到Unity Editor-Visual Studio 2013社区版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆