Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How to preview using play button on oculus quest?

Discussion in 'AR/VR (XR) Discussion' started by Follet, Feb 14, 2020.

  1. Follet

    Follet

    Joined:
    May 18, 2018
    Posts:
    38
    Hello,
    I've decided to use XR Integration instead of Oculus Integration, but I can't seem to find how to do a preview of the scene using oculus link. Every time I want to test, I have to build and apk to test it, where as with oculus integration just playing the play button it opened directly on my quest without any apk needed.

    Also I deeply searched in internet a solution but didn't found any, and every youtube video about XR Integration using quest ends up doing builds.

    Is there any way to make the play button work with oculus quest using link without having to build and copy an apk? Maybe using ALVR or Virtual desktop, anything would be a bleesing.
    Thanks.
     
  2. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    I did not get it to work with the new XR stuff either so I rolled back to Oculus integration with the 2 packages since the workflow would take too big of a step back

    ALVR/VD requires Steam so you would have to switch your platform to desktop when you want to test. On top of that the new XR integration does not yet support Steam (openvr) :p
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,988
    play in editor with vr seems to work here (quest+link).

    was just testing using this project, https://github.com/Unity-Technologies/XR-Interaction-Toolkit-Examples

    i have oculus and openvr selected in build settings,
    disabled beta channel from oculus, updated xr interaction to 0.9.3,
    started adb log.. not sure if some or any of those made difference.
     
  4. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    does it work for you when Android platform is selected? desktop worked for me too with Link
     
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,988
    seems to work with android platform selected also.

    initially it didn't seem to start playing,
    kept pressing buttons, unplug device, start link first before playing.. then at some point started working.
     
  6. Follet

    Follet

    Joined:
    May 18, 2018
    Posts:
    38
    Thanks man! I will try to use this. I went crazy trying to make it work with no result, hope this helps. If it does work here, maybe I'll use it as a template and import all the assets from my project to this if I can't figure out the configuration.

    Also I've readed in another thread here that the devs, after a few updates will most probably start working on a compatibility patch specifically for the quest, hope it dosen't take too long.

    I will come back here to reply to say if it did or did not worked for me.
     
  7. Follet

    Follet

    Joined:
    May 18, 2018
    Posts:
    38
    Okay, that did not work, BUT I did make it work on my project by adding Oculus Loader provider on the XR Plugin Management on the desktop window Yaaaayyy :D I can't believe after all my struggle that it was so goddam easy
     
    PontiusP, MarekDyjor and Ostwind like this.
  8. dgoodman-icf

    dgoodman-icf

    Joined:
    Jan 7, 2019
    Posts:
    36
    This threw me at first also.
     
  9. eagleeyez

    eagleeyez

    Joined:
    Mar 21, 2013
    Posts:
    406
    I made a video
     
    Barnimek likes this.
  10. a436t4ataf

    a436t4ataf

    Joined:
    May 19, 2013
    Posts:
    1,873
    It doesn't need a video, just needs for people to go back and edit / update the threads (and delete the videos? One of the reason videos are bad for this: you cannot update them) where they previously told everyone to enable Android and build an APK (which used to be required, in the early builds).

    (recent XR builds removed that requirement, and if you do nothing special - apart from add the things that the Editor tells you to add (and spews errors if you forget!), then they Just Work)
     
    MarekDyjor likes this.
  11. TheGreatNub

    TheGreatNub

    Joined:
    Jan 29, 2020
    Posts:
    1
    what worked for me was switching from Oculus plugin to the OpenXR plugin in Project Settings
     

    Attached Files: