Skip to main content
Up and Coming
March 27, 2022
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 ?

    This topic has been closed for replies.
    Honored Contributor
    March 27, 2022

    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

    Honored Contributor
    March 27, 2022

    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.

    Up and Coming
    March 27, 2022

    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.

     

    Honored Contributor
    March 27, 2022

    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.

    Up and Coming
    March 28, 2022

    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.😅

    Honored Contributor
    March 28, 2022

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