microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

How to launch Unity UWP app as 2D instead of Mixed Reality Portal #898

Closed StephenHodgson closed 7 years ago

StephenHodgson commented 7 years ago

Anyone know how to prevent a Unity App build as a UWP from launching in the Mixed Reality Portal if running on a local machine?

jessemcculloch commented 7 years ago

Sorry, just re-read the title.

Can you explain what you are seeing happen vs. what you want to see happen?

StephenHodgson commented 7 years ago

I'd like to launch the UWP app as a normal application on desktop, but instead it launches the Mixed Reality Portal and then runs in the portal.

jessemcculloch commented 7 years ago

How are you launching it? Via the start menu, or when you run it in debug mode in Visual Studio, or when you are hitting play in Unity?

StephenHodgson commented 7 years ago

Via Start Menu.

jessemcculloch commented 7 years ago

Interesting, I have not seen this. Let me try to replicate

StephenHodgson commented 7 years ago

Thanks Jesse

jessemcculloch commented 7 years ago

Hate to ask a dumb question, but you don't have Virtual Reality Enabled in the player settings, do you?

StephenHodgson commented 7 years ago

@jessemcculloch that was the right question to be asking! Thanks!

That was it!

jessemcculloch commented 7 years ago

LOL, glad to help