Develop for VR in Linux, but deploy for Windows?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Jesse

Is it possible to develop games for VR headsets (Oculus Rift, HTC Vive) in Linux but deploy the final product for Windows?

:bust_in_silhouette: Reply From: Mux213

Hi Jesse,

In theory yes, the VR driver system in Godot is designed to be portable. There are differences you need to take into account when you switch between different VR devices, especially controllers of the different platforms having different capabilities. But if you develop a Godot game using say OpenVR on Linux, that game should run fine if you deploy it on Windows provided you also use OpenVR on Windows.

Do note that only the HTC Vive (and likely Valve Index) have support on Linux, I do not believe Oculus creates drivers targeting Linux.