microsoft/OpenXR-MixedReality

Why when run BasicXrApp on HoloLens 2 Emulator, It's black sreen?

sinojelly opened this issue · 3 comments

I compile BasicXrApp on Visual Studio 2017 with Debug/x64, package it to BasicXrApp_uwp_1.0.0.0_x64_Debug.appx, then install it to HoloLens 2 Emulator through Device Portal, and start it. It seems to be launched successful, I can hear the sound, and see the animation, but after that, there is only a black screen on the HoloLens 2 Emulator.

I don't know how to make the HoloLens 2 emulator to show the BasicXrApp.
Any help would be appreciated!
start-basicxrapp-blackscreen

The default cubes placed in the world is probably behind your eye at this moment. You might want to control your emulator to move back a bit so you can see the cubes in front of you.

The initial placement of the cube should be 1 meter in front of user. But there was a bug in the code that cube was spawned at user's head.

#7 is fixing this issue.

Resolved in #7