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 小时前
基于OpenGL封装摄像机类:视图矩阵与透视矩阵的实现
c++·qt·线性代数·矩阵·游戏引擎·图形渲染
EQ-雪梨蛋花汤7 小时前
【Unity笔记】Unity 编辑器扩展:打造一个可切换 Config.assets 的顶部菜单插件
unity·编辑器·游戏引擎
SmalBox8 小时前
【URP】UnityHLSL顶点片元语义详解
unity·渲染
在路上看风景19 小时前
9. Mono项目与Unity的关系
unity
在路上看风景20 小时前
1.12 Memory Profiler Package - Summary
unity
SmalBox1 天前
【URP】Unity Shader Tags
unity·渲染
极客柒1 天前
Unity 塔防自用可视化路点寻路编辑器
unity·编辑器·游戏引擎
程序猿多布1 天前
Unity AssetBundle详解
unity·assetbundle
萘柰奈2 天前
Unity学习----【进阶】Addressables(二)--加载资源与打包及更新
学习·unity
lvcoc2 天前
unity 接入火山引擎API,包括即梦AI
windows·unity·ai·火山引擎