Updated the code string to this and am still getting the error where it opens the game normally on desktop but not in VR. The CMD window that comes up is still empty, no code strings appearing.
The VR headset is definitely connected (am able to use the desktop interface in the Meta VR UI to open the game from the desktop). Also checked another VR game on steam to make sure the headset is working and had no issues. Still seems like whatever code is meant to make it run in VR just isn't working right now, even with the new script.
Will try the repacked hotfix when it is uploaded and see if that one works instead.