MicrosoftDocs / mixed-reality

Mixed Reality documentation
Creative Commons Attribution 4.0 International
175 stars 186 forks source link

Unity2020+OpenXR,After the program runs, can't see any images #423

Open AlanWeekend opened 3 years ago

AlanWeekend commented 3 years ago

I followed this tutorial and used unity2020 + openxr, and I'm pretty sure I didn't make any mistakes. But after my program runs in hololens, there is nothing, not even a "make with unity" image. But when I use unity 2020 + windows XR, repeat the above operation. The program is executable.

Unity version 2020.3.12f1

MRTK 2.7.2

Hololens2 system version 21h1

windows sdk 19041。

I don't know why the program can't run in openxr, but the program can run in Windows XR. Please tell me how to solve it

AlanWeekend commented 3 years ago

the tutorial is https://docs.microsoft.com/zh-cn/windows/mixed-reality/develop/unity/tutorials/mr-learning-base-02?tabs=openxr#configuring-the-unity-project

AlanWeekend commented 3 years ago

My program has been developed in openxr. How should I switch to windows XR