How to Switch from Mixed Reality to Full VR in a Unity App for Vision OS?

Hello Vision OS Community,

I’m currently developing an application using Unity for Vision OS and I’m looking to create an experience that starts in mixed reality (MR) and then transitions to full virtual reality (VR) when the user presses a button. I am a bit unsure about the best practices for handling this transition within the same session, considering the platform’s capabilities and limitations.

Has anyone here worked on similar functionality? If so, could you share your insights or any sample code on how to:

  1. Set up the initial MR environment.
  2. Transition the application from MR to a fully immersive VR mode.
  3. Manage user inputs during this transition.
  4. Any particular settings or configurations in Unity that need to be adjusted for Vision OS?

Additionally, I’m curious about how to handle the app mode settings since they cannot be changed at runtime according to the Vision OS documentation. Any advice or pointers towards the right documentation would be greatly appreciated!

Thank you in advance for your help and looking forward to your suggestions!

We currently don’t support a single project that can build / switch to both MR and VR mode. There is some work and exploration being done to see if that’s possible but there are no tentative release plans to share at this time.

Even if this were to simply call a new scene?

this is now supported, and yes switching scenes is the correct way to do this. Depending on how you want your VR scene to run you may need to configure settings for hybrid mode.

This is tremendous news, thank you Dan. Err, …ummm, could you point me in the direction of the Hybrid Mode settings?
#Embarrassed

https://docs.unity3d.com/Packages/com.unity.polyspatial.visionos@2.1/manual/PolySpatialHybridApps.html

Thank you. Is this transferable to non Vision OS HMDs?

There’s no hybrid mode outside of our visionOS support, because PolySpatial/RealityKit is only supported on visionOS. Other HMDs (Quest, e.g.) will use standard Unity rendering (that is, the equivalent of “full VR”/Metal mode for each platform).

Thanks. Will do some RnD.

Hello ,I try a few action, But no success, Can you give a demo for MR switch VR ? thank you