本文介绍了Unity HoloLens App作为Windows App而非AR执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我正在使用以下工具构建HoloLens Unity应用程序

I am building a HoloLens Unity App using the following tools

  • 团结2018.3.14f1
  • Visual Studio 2017
  • Microsoft.MixedReality.Toolkit.Unity.Foundation-v2.0.0-RC1-Refresh.unitypackage(MRToolkit v2)

统一项目/场景配置

  • 目标平台:通用Windows平台
  • 目标设备:HoloLens
  • 体系结构:x86
  • 目标SDK版本:最新
  • 目标平台版本:10.0.10240.0

目标平台设置

  • 支持的设备系列:全息
  • XR设置:VR支持(未选中); WSA全息远程支持(取消选中)
  • 其他设置:

我如何部署:

  1. 添加了开放场景
  2. 构建
  3. 打开* .sln文件
  4. 将通用Windows"项目设置为默认项目.
  5. 更新了[计算机名称/IP]以进行远程执行
  6. 使用远程设备"(HoloLens 1)运行/启动项目
    • 部署包成功
  1. Added Open Scene
  2. Build
  3. Open *.sln file
  4. Set 'Universal Windows' project as default project.
  5. Updated [Machine Name/IP] for remote execution
  6. Run/Start the project using 'Remote Device' (HoloLens 1)
    • deployment package was successful

也许在目标平台下? MRToolkit设置?平台设置? UWP设置?

Under Target Platform maybe? MRToolkit settings? Platform Settings? UWP Settings?

而且我也找不到任何有关如何使用最新的MRToolkit v2到HOLOLENS 1设备进行部署的文档.如果您可以共享一些链接,那也很好

And also i can't find any documentation on how to do a deployment using the latest MRToolkit v2 TO A HOLOLENS 1 DEVICE. If you can share some links it would be great as well

谢谢.

推荐答案

您确实错过了一些配置!您忘记在播放器设置中启用XR模式.在Edit > Project Settings > Player中,最后一个选项是XR Settings,您需要将Virtual Reality Supported设置为true并检查是否已将Windows Mixed Reality作为Virtual Reality SDKs

You did miss some configuration! You forgot to enable the XR mode in the player settings. In Edit > Project Settings > Player The last option is the XR Settings there you need to set Virtual Reality Supported to true and check you have Windows Mixed Reality as the Virtual Reality SDKs

这篇关于Unity HoloLens App作为Windows App而非AR执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 16:46