Search Unity

Testing Oculus Go application in editor not working

Discussion in 'VR' started by nielsbrakel, Aug 8, 2018.

  1. nielsbrakel

    nielsbrakel

    Joined:
    Nov 13, 2016
    Posts:
    2
    Hello, I'm having a problem with testing my first VR game in the Unity editor, as I understand it needs to be possible to test my project in the editor when my oculus go is connected to my pc in debug mode, and when I move the headset or controller it will also move in the editor.

    Sadly it will not work for me... So i hope you guys can help me! If I need to supply extra info just say so!

    Versions:
    Windows 10 Home
    Unity hub: 0.18.1
    Unity: 2018.2.2f1 (Personal)
    Oculus SDK: 3.4.1

    Settings:
    XR Settings:
    Virtual Reality supported: true
    Virtual Reality SDK: Oculus

    When running one of the example scenes from the Oculus SDK in the editor I get this warning:
    Virtual Reality SDK Oculus failed to initialize.
    Will attempt to enable Oculus instead.
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    I test by just using different control scripts in the editor — moving the camera with the mouse, and using the keyboard to simulate controller inputs. It's not ideal, but it works well enough for most things.

    I'm not sure that what you're asking for is possible.
     
    ROBYER1 likes this.
  3. nielsbrakel

    nielsbrakel

    Joined:
    Nov 13, 2016
    Posts:
    2
    Hmm, but how is this person doing it?
    (at the 11:27 mark)
     
  4. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    I have no idea. Are you sure that was Go and not (say) Rift or Vive?

    Maybe there's a new trick for me to learn!
     
  5. thecreacog

    thecreacog

    Joined:
    Sep 5, 2018
    Posts:
    1
    The person who made that tutorial that mentions in an earlier one that he is using Oculus Drift.


    I have spent many hours searching for how to get a Go to work this way with no luck so far.
     
  6. byteblorg

    byteblorg

    Joined:
    Dec 13, 2016
    Posts:
    10
    You cant test oGo or GearVR on unity editor without an oculus rift set installed. That said, creating a rift app, then, tweaking for mobile would be the best way to go
     
  7. literakl

    literakl

    Joined:
    Mar 18, 2018
    Posts:
    7
    How can I simulate the head movement?