简体   繁体   English

空白屏幕 - Microsoft Hololens 模拟器

[英]Blank Screen- Microsoft Hololens emulater

I am new to MRTK & Unity development & need help to complete one POC.我是 MRTK 和 Unity 开发的新手,需要帮助才能完成一个 POC。

To learn, I started with Hololens Far & Near cube example in Unity & wanted to test it in Hololens Emulator.为了学习,我从 Unity 中的 Hololens Far & Near 立方体示例开始,并想在 Hololens 模拟器中对其进行测试。

  1. Created a Scene in Unity with two cubes.在 Unity 中用两个立方体创建了一个场景。
  2. Build & RUn in Unity with Target device as Holones for Windows Universal Platform.在 Unity 中构建和运行目标设备作为 Windows 通用平台的整体。
  3. Ran sln file in visual studio.在 visual studio 中运行 sln 文件。
  4. Hololens Emulator launched.推出 Hololens 模拟器。

till here it's all good.到这里一切都很好。 But after this Problem starts.但是在这个问题开始之后。

  1. Hololens is Stuck with a Black screen. Hololens 卡在黑屏上。 Black Screen with hand黑屏用手
  2. Breakpoint is triggered VS 2019. Breakpoint断点被触发 VS 2019.Breakpoint
  3. When clicking on COntinue, Hololens shows 4 balls rotating.单击继续时,Hololens 会显示 4 个球在旋转。 4 balls rotating 4个球旋转

I have no idea what happened to Cubes?我不知道多维数据集发生了什么事? & what is the meaning of this screen? &此屏幕的含义是什么?

Regards, Mayank Pande问候, Mayank Pande

I have tried to reproduce this issue.我试图重现这个问题。

  • HoloLens is stuck with a black screen. HoloLens 卡在黑屏上。 -> In some projects this can be reproduced. -> 在某些项目中,这可以重现。 The project is running with debugger with visual studio, HoloLens only shows 2 hand ray casts.该项目正在使用带有 visual studio 的调试器运行,HoloLens 仅显示 2 个手部光线投射。 It happens on both Emulator and physical devices, and this can be caused by corrupted MRTK profile.它发生在模拟器和物理设备上,这可能是由损坏的 MRTK 配置文件引起的。 I create a new project and import the latest packages via Mixed Reality Feature Tools, then migrate assets to the new project to solve this issue.我创建一个新项目并通过混合现实功能工具导入最新的包,然后将资产迁移到新项目以解决此问题。
  • Breakpoint is triggered VS 2019 -> Is the breakpoint expected?断点被触发 VS 2019 ->断点是预期的吗? Otherwise, you may try to turn off the first chance exception in VS 2019.否则,您可以尝试关闭 VS 2019 中的第一次机会异常。
  • HoloLens shows 4 balls rotating -> it is expected behavior when opening a project in Emulator. HoloLens 显示 4 个球在旋转-> 这是在模拟器中打开项目时的预期行为。 This animation indicates the resources are being loaded and it follows with Unity Splash screen, then the main scene of your Unity project.这个 animation 表示正在加载资源,紧随其后的是 Unity 启动画面,然后是 Unity 项目的主场景。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM