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 小时前
godot源码编译
游戏引擎·godot
Thomas_YXQ3 小时前
Unity3D IK解算器技术分析
开发语言·搜索引擎·unity·全文检索·unity3d·lucene
Tandy12356_4 小时前
Godot开发2D冒险游戏——第二节:主角光环整起来!
游戏引擎·godot
星火撩猿11 小时前
常见游戏引擎介绍与对比
unity·ue5·游戏引擎·godot
sky_smile_Allen12 小时前
[Unity]-[UI]-[Prefab] 关于Unity UGUI 的布局及组件讲解
ui·unity·游戏引擎
虾球xz14 小时前
游戏引擎学习第244天: 完成异步纹理下载
c++·学习·游戏引擎
太妃糖耶17 小时前
URP-利用矩阵在Shader中实现物体的平移和缩放
unity·矩阵
Magnum Lehar20 小时前
ApophisZerg游戏引擎项目目录展示
人工智能·vscode·编辑器·游戏引擎
Tandy12356_1 天前
Godot开发2D冒险游戏——第一节:主角登场!
python·游戏引擎·godot
是阿根1 天前
unity使用iTextSharp生成PDF文件
unity·c#·游戏引擎