Hololens 2 Unity VS2019编译报错解决方案

环境:Hololens 2 Unity 2019.4.20.f1c1 VS2019

之前可以正常编译的工程突然就不能编译了,推测可能是Hololens 2更新了系统,因为WIN SDK兼容性导致原来的程序无法编译了。编译报错:

Error DEP6957: Failed to connect to device '127.0.0.1' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. COMException - No connection could be made because the target machine actively refused it. (Exception from HRESULT: 0x8007274D) 0x8007274D

解决方案:

打开VS2019->调试->XXXX(工程名)调试属性

将目标平台版本改为10.0.22621.0,然后可正常编译。

相关推荐
一线灵3 小时前
跨平台游戏引擎 Axmol-2.11.5 发布
游戏引擎·lua
淡海水3 小时前
16-01-C#数据结构源码-附录A-术语表
unity·c#·游戏引擎·il2cpp
淡海水4 小时前
16-03-C#数据结构源码-附录C-参考资源
unity·c#·游戏引擎·il2cpp
天神哥哥啊5 小时前
unity联调注意事项-安卓
android·unity·游戏引擎
天神哥哥啊5 小时前
unity联调注意事项-IOS
unity·ios·游戏引擎
可爱系程序猿16 小时前
Unity 材质预览才弹 d3dcompiler_47.dll?先分清编辑器 SDK、着色器缓存和玩家包
程序人生·3d·unity·电脑·材质
xcLeigh17 小时前
Unity基础:使用Transform控制物体缩放——localScale与lossyScale的区别
unity·游戏引擎·教程
郝学胜-神的一滴20 小时前
游戏引擎原理与实践 01:聊聊游戏引擎的前世今生
开发语言·c++·游戏引擎·产品运营·软件工程·产品经理·untiy
淡海水1 天前
00-Unity和C#的GC剖析与对比-全篇导览
unity·c#·游戏引擎·gc
字节暗面1 天前
Unity AssetBundle 热更新资源保护排查笔记
unity·游戏加固·资源加密