Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
AdamsCheng's avatar
AdamsCheng
Protege
3 years ago
Solved

Test VR app in Unity directly issue

Hi everyone,

 

When I test my VR app.

I only goto "build and Run" .Then test app in my headset.

I found some VR developer video in youtube.

They can test VR app in Unity directly. 

But, I can not do it.

Am I miss something ?

  • by 'Desktop Oculus Home' I mean having the Oculus app running on your desktop, and seeing in the Quest a different home environment to the one you see when just in Quest standalone mode. That's the clue that the HMD is properly connected via Link and is ready to play a game running on the PC.

    On the Project Settings view - on the Oculus section. You've got the third tab (android icon) selected. What do you see when you select the first tab (Desktop - icon looks like a PC monitor)? That's the runtime that gets used when playing in the editor to a Link connected Quest.

5 Replies

Replies have been turned off for this discussion
  • Which version of Unity are you in? On 2020LTS if you have the Oculus XR Plug-in package installed via the XR Plug-In Management then you should have both the Desktop and Android runtimes available to you. As long as you Quest is connected to the PC via OculusLink (it needs to be enabled so you're seeing the Desktop Oculus Home, not the native Quest Home) then going into Play mode in the Editor will run the app without having to build.

    • AdamsCheng's avatar
      AdamsCheng
      Protege

      Hi baroquedub, 

       

      I'm using Unity 2021.2.13f1 .

      I've set up the Oculus XR plugin and connected the Quest 2 via Oculus Link.

      Desktop Oculus Home that you mean Oculus developer hub ?

      I have captured some settings below.

       

  • by 'Desktop Oculus Home' I mean having the Oculus app running on your desktop, and seeing in the Quest a different home environment to the one you see when just in Quest standalone mode. That's the clue that the HMD is properly connected via Link and is ready to play a game running on the PC.

    On the Project Settings view - on the Oculus section. You've got the third tab (android icon) selected. What do you see when you select the first tab (Desktop - icon looks like a PC monitor)? That's the runtime that gets used when playing in the editor to a Link connected Quest.

  • Dear baroquedub,

     

    Thank you for your help. I know what the problem is.

    I have not installed Oculus appliaction on my computer.

    The Oculus link mode appears after installation.😅

  • Yay! Glad you got it sorted.
    and as a bonus you can now also play a bunch of PC VR games on your Quest 😁