Switch PC to VR in Runtime

Hey,
I am currently trying to implement a switch from PC to VR in runtime. It’s just someting I need for this project.
Both the PC and the VR part are working fine when started seperately.

As VR Device I am using the Quest 3, which is connected via cable to the PC.
For the Unreal Version I have tried using UE 5.4 and 5.5

So far I have been trying to use the “Enable HMD” node.

The problem is that after trying to switch to VR “Enable HMD” returns true and I also get the feedback from my Quest 3 that something happend. On “screen” of the Quest 3 I can see that it opened a new window which says “Loading”. But there is never any progress with the loading and it’s stuck there.

After searching online for a while for a solution I have also tried some console commands but the result was always the same. I am always stuck in “Loading”.
The commands I have used so far are: “vr.bEnableHMD 1”, “vr.bEnablestereo 1”, “r vsync 0”, “hmd enable”, “stereo on”, “hmd mirror 1”.

Cheers,
Proby

Found the solution. Was pretty simple. The “Enable HMD” only works in packaged builds or when running in standalone.
Since it was a simple feature I was previously testing in viewport.

Maybe this can save someone else some time who is also struggeling with this.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.