This is a proof of concept for enabling Unity's builtin VR mode in KSP2. I created it in the first few days after KSP2 launched, and haven't touched it since. I don't know if it works with more recent versions of KSP2.
You can see a video of it in action here: https://www.youtube.com/watch?v=9Tt6DGDPacs
If you're interested in working on this, you're certainly welcome to fork it and continue development - or I could add you as a contributor on this repo too, just get in touch.
Create a Kerbal2-VR.csproj.user file in the Source directory. Set your reference path to your KSP2 and BepInEx directories:
<ReferencePath>C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program 2\KSP2_x64_Data\Managed\;C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program 2\BepInEx\core\</ReferencePath>