Oculus Rift not showing Unity scene in goggles

Hi everyone, I’m a teacher planning to use Unity’s “VR Development” learning pathway for my class. I’m following along the first few steps to set up the project, and have done everything right, however, my headset is not showing the scene once I enter playmode.

I’m trying to use an Oculus Rift with the OpenXR, and the project says that all Meta products will work seamless but I am still running into this issue. When I use the built-in mouse-controlled rig, the project is fine, so I know that is not the problem. (I also disable it when I am trying to get the headset to work, so that is not it either)

However, when I ensure OpenXR is clicked in the project settings and my headset is up and running, I press play and the scene does not play in my goggles.
Is the Oculus Rift too out of date for this project or to use with Unity? I am following the exact directions and have no idea why my headset is not playing the scene. Please advise… thank you so much.

Are you entirely sure that you are doing everything correct and by the book? Maybe you have forgotten to activate something? Could you post screencaps of you setting this up from start to finish and I might be able to help to identify the problem.

Hello! Yes, I’ve followed the VR Development learning pathway to the tee, twice through so those would be my path. I feel as though my problem might be in using the Oculus Rift? Is there somewhere I should press so it goes to Unity? I can click to see my Desktop in the goggles but it doesn’t automatically jump into the scene like it used to. Thank you so much…

This is the pathway with screenshots… VR Development Pathway - Unity Learn

I’ve even tried to just run normal Oculus without the pathway steps (rather than OpenXR) and using the Oculus VR integration, I was getting even more bugs…

I also know there used to be a “VR Support” box to tick in the settings but that is no longer there. Thank you anyone who is able to help…

How old is that course you are taking? If there has been some changes in the XR Plugin then you might have some wrong settings. Again, can you please post screenshots of all your XR setup settings?

Hello, there is no date on the pathway but it uses Unity 2021 and I am using the same version as them -VR Development Pathway - Unity Learn

Have you used the correct “PREFAB” when setting up your scene? Post screencaps please. - Editing since I missed DevDunk’s reply. Yes, also change that and make Oculus the default runtime for XR. You can change that via the Oculus app on your computer in the settings page

It says none selected as openxr runtime. Is oculus runtime set as default?
Also I never used mock or debugger, so maybe disable that?

1 Like

Hi everyone, thank you for your advice. I’ve done these things and the scene still does not show up in my headset. The Oculus app does not allow me to click to “set it as active,” or the default, the button does not work. I’ve attached screenshots of the windows you’ve mentioned, following those directions and like I said, no change. I’ve also attached a screenshot of the bottom right of my Unity window, the Oculus symbol is not there amongst the others, I’m not sure if that’s good or bad. Again, thank you so much and I appreciate any advice!

8841628--1204717--image (41).png


8841628--1204723--image (39).png

Also, the learning pathways says specifically to choose “OpenXR” as the plug-in provider. Thank you again…

Press the big Set oculus as active on the latest screenshot

Hello! That is the button I mentioned that does not work. Thank you…

Then there might be something wrong with the oculus install. Maybe contact meta support

1 Like

That button SHOULD work, as it works on my computer no problem. You should be able to choose a standard XR provider, wether it be Oculus or Steam. Maybe try reinstall software? If all fail, try contact META as DevDunk suggested.

Hello,

Same issue here. When I click play in unity, nothing shows up in the goggles. Not even a sign of anything loading in the headset or on the PC screen.
I’ve also carrefully followed the tutorial (now for version 2022) and I personnally intend to use the Rift S.
I can successfully set the OpenXR Runtime to Meta Quest Link (ex Occulus) but it is still not working.

Have anyone successfully used a Rift or Rift S with Unity in the last 2 years ? Or has any support been dropped by unity ? In this thread , they seem to have at least the image working.

Cheers,

Well, I fnally got it to work :

The instructions in the Unity VR tutorial 2022.3 don’t work as-is for the Rift S (I’ve got the hints by following the 2020.3 tutorial ).
Basically, one need to set “Meta Quest Link” as the OpenXR Runtime in Meta quest Link software and also set “Oculus” in XR Plug-in management.

9781191--1402683--upload_2024-4-19_19-59-54.png
9781191--1402686--upload_2024-4-19_20-0-26.png

That doesn’t work for me unfortunately. The only thing that gets my controllers back to being tracked in Unity is downgrading Meta Quest Link. (See: https://discussions.unity.com/t/952348 )