Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Started Tutorial from HoloLens 2 Emulator Runs in 2D mode #427

Open
swhook52 opened this issue Sep 17, 2021 · 1 comment
Open

Getting Started Tutorial from HoloLens 2 Emulator Runs in 2D mode #427

swhook52 opened this issue Sep 17, 2021 · 1 comment

Comments

@swhook52
Copy link

I'm trying to run the getting started HoloLens 2 tutorial (https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/tutorials/mr-learning-base-02?tabs=openxr) on the HoloLens 2 emulator 10.0.20348.1018 on Unity 2020.3.18f1 which installs Mixed Reality Toolkit Foundation 2.7.2. The tutorial goes perfectly fine and I can run via Unity without any issue. When I go to build, swap to VS and run in Master or Release in the Emulator I'm getting a 2D app when it executes. Is there a limitation that this cannot be run from the emulator?

One difference I did have in the tutorial is that the instructions say to build in ARM64 and Deploy in ARM64 to the device but the Emulator is not available as a target unless it is x86. I've tried different variations of building from Unity at different targets and running but nothing changes the 2D app launch.

Having a section in this tutorial that defines the differences in build and deploy steps when you are running this with an emulator would be really helpful in these docs.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@swhook52
Copy link
Author

Just as a follow up on this issue. I got the tutorial functional in the emulator by doing a few things different than the tutorial states:

  • Unity build settings set to "USB Device"
  • Visual Studio configuration set to x64

Having some of these steps listed in the docs would have been a huge help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants