Play mode not working

hello, I’m trying to test windows reality mixed. I click on Play Mode and the app starts in Unity but in my headset I stay in the home/hub of the mixed reality portal.

Settings :

  • Unity 2017.3.0f3 personal edition, tried with 2017.2.1p3, not working either.

  • Windows Universal App platform

  • holokit sdk

Have you any idea why it isn’t working ?

1 Like

Works in 2017.2.1p3 in fact.
Wasn’t working at first. I launched a scene from HoloToolKit example and it worked. then I tried with my scene and it worked.
My collegue is in 2017.3.0f3 (like me) and it works (not like me)

I had a similar problem that took me weeks to figure out what was wrong, turned out I was running Unity as an administrator. If you do that it blocks the HMD.

High five on the Jackie Chan, had a good laugh on that one

Let me know if that is your issue. If not, tell me what windows version you’re running. To find out hit your Windows key, and type “winver”, then press enter. This will give you full release information on your Windows version.

Hello, I was running Unity in administrator indeed.

I unchecked the option and now it works, thanks !

Hi. Unfortunately that did not seem to work for me. I shut down the admin rights on my machine, and the Mixed Reality Portal Cliff House scene is still all I see when trying to go into Play Mode from the Unity editor. I am using Unity 2017.3.0f3 with Windows 10, Version 1709 Build 16299.248

Any thoughts?

Admin rights on the machine is different than running the Unity executable as an administrator. Right click the Unity.exe and go to Compatibility and disable “Run as administrator”.

I’m having the same issue, can’t see my game when I hit play in the Unity editor, just stays in windows home/mixed reality portal. I’m using Unity 2018.1.0f2, Windows version 1709, a Razer Blade laptop from 2017 with an Nvidia 1060 gpu (this setup works fine for Oculus and Vive).

I tried disabling “run as administrator” on the unity.exe but that didn’t fix it.

nevermind, just needed this GitHub - 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

Hi! I just updated my Unity version and now I am experiencing a similar issue with Oculus Rift and in Unity 2018.3.1.f1. When I start Play mode the game plays in Unity3D, but I am stuck in the home menu of Oculus in the headset. I tried running Unity as admin and not as admin, but this didn’t have an effect on the issue. I also checked, but VR is still enabled and I’m still allowed to run non-verified applications by Oculus. Anyone with an idea what I could do to fix this?

1 Like

Same issue as Hanne… my app does not launch as a VR app

Same issue, UnityEditor is not run as administrator. Game starts playing, head is tracked as well as controls but the video in the oculus is stuck in the oculus menu.

We have had a common thing where users going into 18.3 often do not have the Windows Mixed Reality package installed. This often happens when you upgrade a project into 18.3. Can you make sure you’re packages are installed? To get the package, go to Window > Package Manager, then find Windows Mixed Reality.

1 Like

Set Holographic emulation setting to None.

1 Like

Also what @cyenketswamy said, if you have the package installed. I should have included that part. Emulation tab is under Window > XR > Holographic Emulation. Good catch cyenketswamy, thank you!

I have the same issue. Unity project runs fine in the editor, and the Oculus rift headset works fine with other Steam games and for room set-up. After a steam update, when I hit play in Unity, the game is stuck on the loading screen in the headset. Only sometimes it will load, other times it will stay in the Oculus home screen, while the Unity game plays on its own. I tried admin and non-admin, computer restarts, and setting up the Oculus again with no luck

1 Like

Hi, I’m currently having the same issue.
I opened another post but it might get picked up faster here.
( https://forum.unity.com/threads/windows-mixed-reality-wont-start-the-game-and-keeps-me-in-the-hub.955434/ )

I’m using unity 2019.4.0f1 (LTS) and the XR development kit.

We are developing a VR game for Oculus and WMR.
When I build the game, the oculus works fine. But once I open the build one on a HP Reverb (WMR), I remain in the WMR hub/portal. I can hear the game and on the monitor I can see the game but in the HMD you stay in the headset.

I tried the answers on this thread but it didn’t fix the issue.
Any guesses?

Do you have a bug submitted that documents this? I’m curious if your Initialize On Startup settings are enabled for UWP platform. In the XR Management settings you should have a tab for Oculus and another for UWP, ensure both have “Initialize On Start” enabled. From your description it sounds like it’s not attempting to start up XR and just running it as a UWP application on your system. If that’s enabled, file a new bug for us and we can investigate using a minimum repro project if you can supply one

Thanks for your answer! I don’t think I had it enabled in the UWP platform. I’ll try that and get back to you.

I am building on the PC, mac and linux standalone build, WMR and oculus are enabled, initialize on XR as well. but on the UWP it is disabled, I’m not sure if this matters since I’m building on the PC, mac and linux standalone platform?

Oh if you’re building PC/Mac/Linux for WMR then no you would not need to change the UWP setting. Basically just ensure the Initialize on Start is enabled for all platforms you’re building for. Sorry I assumed you were working with UWP, I sometimes forget you can do both with WMR :smile:

Yeah it is enabled but the game won’t start for WMR, still not sure what causes this problem but I’ve downloaded openVR for the new XR plugin and that makes it work for oculus and wmr