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,然后可正常编译。

相关推荐
叶帆2 小时前
【YFIOs】用C#开发硬件之设备上云
开发语言·unity·c#
久数君4 小时前
AI三维建模工具“造形家”:地理场景三维化的高效解决方案
unity·glb·ai算法·ai三维建模工具·地图框选·造形家·城市建筑模型
会思考的猴子14 小时前
Unity VFX 属性 Postion 和 TargetPostion
unity
hai31524754318 小时前
九章编程法 · 猜数字游戏 (GW-BASIC 重构版) *
人工智能·microsoft·游戏引擎·游戏程序
心前阳光1 天前
Unity资源导入之自动化资源导入
unity·自动化·游戏引擎
心前阳光1 天前
Unity之2021.3.45f2c1发布安卓程序遇到的问题
android·unity·游戏引擎
纪纯1 天前
PicoVR Unity Integration SDK 3.4 常用交互API
unity·游戏引擎·vr·pico
龙智DevSecOps解决方案1 天前
3A 游戏优化技术栈:如何打通引擎级分析工具与 DevOps 持续集成管线?
unity·性能优化·游戏开发·技术美术·perforce·unrealengine
葛兰岱尔1 天前
从 SolidWorks 到 Three.js,从 Inventor 到 Unity——制造业CAD模型“几何-语义一体化“转换,不再是天方夜谭!
开发语言·javascript·unity
鼎艺创新科技1 天前
三维电子沙盘中OSGB倾斜摄影数据的加载与渲染
游戏引擎·cocos2d