MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

how to make an appx build that work on Hololens, Desktop and MR Mode

Open albinhw opened this issue 8 years ago • 12 comments

Overview

I want to create a cross platform application appx build that works on Hololens, Desktop and MR mode. When I try to build and Run on different platforms it is not supported. How can I go about it?

Expected Behavior

Here is what I am trying to achieve

  1. Create a uwp Project in Unity which has MRTK integrated
  2. When it is built it the sample appx build should work on Hololens, MR and Desktop Mode
  • In Holololens I should be able to interact with the app using gestures
  • In MR device I should be able to interact with the app using the MR controllers
  • In Desktop I should be able to navigate and interact with keyboard and mouse
  • All these need to be from a single appx file

How can I make a build which has all these platforms supported? Please help me if anyone has figured out how to go about it. Thanks :)

albinhw avatar Nov 16 '18 10:11 albinhw

@StephenHodgson @Cameron-Micka @davidkline-ms @NeerajW Guys Please let me know if you have any comment on this. Thanks

albinhw avatar Nov 16 '18 10:11 albinhw

@albinhw , Galaxy Explorer does exactly this. https://github.com/microsoft/galaxyexplorer

Note, there is also an effort underway to port Galaxy Explorer to the current HoloToolKit (not MRTK vNext). That work is being done in the feature/CreateNewGalaxyExplorer branch in my fork.

timGerken avatar Nov 16 '18 11:11 timGerken

There are a couple of different things that will make this a bit difficult.

First there are some settings in the appxmanifest that need to be updated so they will show up correctly in the windows store.

Each has their own manifest changes that need to take place, which will unfortunately make it so that you have to use different final appx builds. Pretty sure that you can have a single installer though.

StephenHodgson avatar Nov 16 '18 17:11 StephenHodgson

@StephenHodgson @timGerken Thank you for the prompt response. I am going through the Galaxy explorer Demo. Let me try to figure out the implementation.

albinhw avatar Nov 17 '18 06:11 albinhw

I think we should have this as a document to include for 2018. This is a commonly ask question, and cross platform is one huge value prop of MRTK vnext

Yoyozilla avatar Dec 12 '18 08:12 Yoyozilla

If you are building and x86 appx, the result should work on HoloLens and Desktop. If you wish to have desktop run an x64 binary, you will need to build separate appx packages (Visual Studio will build any checked configuration when using Buid for Store) you can then distribute as an appxbundle containing both in a single download.

david-c-kline avatar Feb 20 '19 20:02 david-c-kline

This could likely be related to documentation for the MRTK Utilities build window #5121

Troy-Ferrell avatar Jun 28 '19 13:06 Troy-Ferrell

For people reading this, additional information in my comment here: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/5534#issuecomment-519288129

Troy-Ferrell avatar Aug 07 '19 22:08 Troy-Ferrell

This issue has been marked as stale by an automated process because it has not had any recent activity. It will be automatically closed in 30 days if no further activity occurs. If this is still an issue please add a new comment with more recent details and repro steps.

stale[bot] avatar Feb 20 '20 02:02 stale[bot]

We should still keep this open as a documentation issue and file a tutorial or information online on how to build for each platform/cross-platform

Troy-Ferrell avatar Feb 20 '20 19:02 Troy-Ferrell

This issue has been marked as stale by an automated process because it has not had any recent activity. It will be automatically closed in 30 days if no further activity occurs. If this is still an issue please add a new comment with more recent details and repro steps.

stale[bot] avatar Jul 19 '20 23:07 stale[bot]

This issue has been closed by an automated process because it is stale. If this is still an issue please add a new comment with more recent details and repro steps.

stale[bot] avatar Aug 22 '20 18:08 stale[bot]