In packaged games only, "Is Head Mounted Display" always triggers true
Hello. When I use "Is Head Mounted Display Enabled" in editor or through play, it works perfect.. If in VR mode, it loads my VR stuff, if not in VR preview and the headset is not in use, it loads non VR stuff.
However it functions differently when packaged. I think it's detecting my headset regardless of whether or not I have it on or am using the -vr target parameter to force VR.. and thus it's always loading my VR stuff, even when I want non VR mode. This makes it impossible for me to test non VR without unplugging my HMD, which isn't realistic, and kind of defeats the entire point of the "is Head Mounted Display enabled node"
4.15 (I had this on 4.14 as well) introduced a new node "Is Head Mounted Display Connected" to work alongside "Enabled" which made me think the issue was fixed.. but no. The command properly works in stand-alone mode, it works in all forms of editor play testing.. but when packaged, It always registers as enabled.
I even had my friend make C++ code that checks if the HMD is enabled AND the game is in stereo mode even THAT registers true, even though it's not! Again, works great in editor or stand alone mode.
asked Feb 24 '17 at 12:12 AM in VR
Disable the Simple HMD Plugin before packaging.
answered Dec 10 '18 at 09:38 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here