r/oculusdev • u/Fangh • Jul 16 '19
Tuto : How to stream Unity editor inside your Oculus Quest
Hello everyone. I had enough of building everytime I wanted to test my Unity3D scene in my oculus quest so I search for a solution to test my scene just by pressing "Play".
Download ALVR. (It requires to have a NVIDIA GPU which supports NVENC or a AMD GPU which supports AMF VCE). If you card does not support ALVR, you can use Riftcat, it's not free, and there is a FOV reduction and there is more lag than ALVR.
Install ALVR-setup-2.4.0-alpha5.exe on your PC
Install ALVRClient-GithubNormalOvr-release-v2.4.0-alpha5.apk on your Oculus Quest (adb install or use SideQuest)
Install SteamVR on your PC
Open your Unity Project and add the SteamVR plugin via the asset store (you can have this one AND OculusSDK in your project, I did not have any error)
Go to project settings => PC/Mac/Linux => XR Settings => add OpenVR in the Virtual Reality SDK List
Launch the ALVR app in your Oculus Quest
Launche the ALVR app on your PC
Connect your Oculus Quest to your PC with ALVR
Press Play in your editor 🎉
Warning: I used the LocalAvatarWithGrab.prefab and it seems that the "finger simulation" is not working as expected. Only a few fingers are detected.
1
u/Clavus Jul 16 '19
If you have an AMD card and you should also be able to use the Radeon ReLive VR streaming app: https://github.com/GPUOpen-LibrariesAndSDKs/Radeon-ReLive-VR
1
1
u/Brichard0625 Jul 30 '19
Still doesn't work for me even tho everything is connected. I see the steam vr app on my headset. ALVR shows server alive and steam vr is connected. Steamvr plugin added and open vr is set in XR settings but once I press play I get nothing.
1
u/Guitool Sep 25 '19
I've tried this technique with VirtualDesktop from a streamed Shadow.pc : i can't see nor use my hands but the headset is Ok.
1
u/Guitool Sep 25 '19
Correction: my hands are invisible but they moves ! I can see it inside the Unity Editor while in ply mode.
1
u/[deleted] Jan 31 '22 edited Jan 31 '22
It streams camera view but does not detect headset movement and controllers at all :(
EDIT: ALVR on desktop -> settings -> headset -> tracking speed: switch to SteamVr
Now the controllers work but still not detecting headset rotation