Search Unity

How to Package the WMR project from Unity and run

Discussion in 'VR' started by schetty, Jan 10, 2019.

  1. schetty

    schetty

    Joined:
    Jul 23, 2012
    Posts:
    424
    Hi,

    working on the Windows mixed reality project now, i want to export it as a package and run it through my system to MR device acer which i plugged into my system.

    But stuck in unity how to export and install in system, can anyone plz help me out to solve this?

    Thanks
     
  2. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    404
    Hello @schetty

    Sounds like you want an Appx package for a UWP app. To do that you need to:
    1. open build settings in Unity
    2. build to your desired location locally, this results in a few folders, files, and importantly a VS solution file. We need this next.
    3. open the resulting .sln file in Visual Studio 2017
    4. go to Project > Store > Create app packages...
    5. follow the wizard to create your appx bundle
     
  3. schetty

    schetty

    Joined:
    Jul 23, 2012
    Posts:
    424
    I took a appx build from visual studio package and i install in my system, but when i try to run it its not opening, its showing a blank screen and close it. Any idea?
     
    Last edited: Jan 11, 2019
  4. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    404
    Does the Windows Mixed Reality Portal appear at all when you run the app? Make sure you turned on the XR Setting in your Player settings, otherwise Windows will see it as a standard UWP app and not launch the mixed reality portal.
     
  5. schetty

    schetty

    Joined:
    Jul 23, 2012
    Posts:
    424
    Mixed reality app window is not coming when i running a app, i enabled the XR settings in the unity.
     
  6. SimRuJ

    SimRuJ

    Joined:
    Apr 7, 2016
    Posts:
    247
    I asked the same thing about a month ago, there's some info that might help you here.
     
  7. schetty

    schetty

    Joined:
    Jul 23, 2012
    Posts:
    424
    Did you solve that issue?