how to make an appx build that work on Hololens, Desktop and MR Mode
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
- Create a uwp Project in Unity which has MRTK integrated
- 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 :)
@StephenHodgson @Cameron-Micka @davidkline-ms @NeerajW Guys Please let me know if you have any comment on this. Thanks
@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.
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 @timGerken Thank you for the prompt response. I am going through the Galaxy explorer Demo. Let me try to figure out the implementation.
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
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.
This could likely be related to documentation for the MRTK Utilities build window #5121
For people reading this, additional information in my comment here: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/5534#issuecomment-519288129
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.
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
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.
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.