Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Our response to Improbable’s blog post (and why you can keep working on your SpatialOS game). Read more here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

How to Package the WMR project from Unity and run

Discussion in 'Windows Mixed Reality' started by schetty, Jan 10, 2019 at 9:22 AM.

  1. schetty

    schetty

    Joined:
    Jul 23, 2012
    Posts:
    381
    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:
    247
    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:
    381
    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 at 8:43 AM
  4. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    247
    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:
    381
    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:
    110
    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:
    381
    Did you solve that issue?