I am connecting my Quest 2 but when I click run the scene doesn’t run on Quest 2.
If I change the plugin from XR Plug-in Management to Oculus (Windows, Mac Linux settings) the scene load on Quest 2.
Is there anything I can do in order to preview my game on Quest 2 while development and don’t have to build every time?
You have to configure the oculus (meta quest link) pc app to have development mode enabled and also turn on OpenXR features there. You also want to set oculus as your default OpenXR runtime, which you can do from that app.
If you do that and it still doesn’t work, I’d recommend grabbing the vr template from the Unity hub and then trying that. You can see how it’s settings are configured and see if anything is missing,
All settings seems to be fine.
If I choose oculus to the plugin providers (windows), play mode load just fine. With OpenXr is not loading and I don’t see any errors on the console. Building with OpenXR and loaded to my quest 2 works fine too.
I know this question is a few months old, but I was following the same Unity Learn pathway and ran into this same issue and was able to fix it. Simply disable the Mock Runtime feature in the feature groups.
From the documentation:
“Mock Runtime (Note: Enabling this will take over whatever current OpenXR runtime you might be using.)”
This is probably taking over the runtime for OpenXR and using the mock runtime instead of using the Quest one. I think the course misleads you by saying to enable all feature groups and even shows it as checked in the image it gives, but disabling it allowed play mode to work for me without issues.