Executing vr settings while headset not on

I have a level which I want to launch both in VR and non-Vr (desktop). For the VR part, I added some extra commands (e.g. Set Floor level) right after the check if HMD enabled = true in the fp char bp. The check works fine if I preview the level in vr/non-vr from my editor. If I then launch the game in non VR (meaning the oculus not on my head and check to run in vr disabled), it runs the set floor level node which should only be executed when my HMD is enabled. Is there a reason why during launch my check if HMD enabled in my firstperson character blueprint is ignored?

Thanks for your help!

When you say your headset is not on your head, is it still connected to the machine? Because if it is, then it will start in VR and HMD will be enabled, even if nothing is showing up in the headset at that moment. You will need to unplug the headset from your computer so it doesn’t detect it and the check should fail. Also you might want to make sure you are not checking Start in VR in the project settings.

Yes, the oculus is still connected. I assumed the check would know whether I have it on my head (or not) but if I understand it correctly, it needs to be disconnected entirely before HMD enabled becomes false. Thanks for clarifying this. That means I need to have 2 separate versions for VR and Non-VR.