# IsHeadMountedDisplayEnabled always true in packaging build when Oculus is enabled

**URL:** <https://forums.unrealengine.com/t/isheadmounteddisplayenabled-always-true-in-packaging-build-when-oculus-is-enabled/372240>\
**Category:** Blueprint\
**Tags:** console-command, unreal-engine, Oculus-Rift, bug-report, question, Blueprint\
**Created:** [October 2, 2016, 5:49pm UTC](https://forums.unrealengine.com/t/isheadmounteddisplayenabled-always-true-in-packaging-build-when-oculus-is-enabled/372240 "2016-10-02T17:49:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![CarlosCoronado](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CarlosCoronado](https://forums.unrealengine.com/u/CarlosCoronado)\
**Post date:** [October 2, 2016, 5:49pm UTC](https://forums.unrealengine.com/t/isheadmounteddisplayenabled-always-true-in-packaging-build-when-oculus-is-enabled/372240/1 "2016-10-02T17:49:38Z")

</div>

When I do a packaged build (tested on both shipping and development) the node IsHeadMountedDisplayEnabled ALWAYS returns true if the Oculus runtime is running in the computer (even if no console command to activate it as “Stereo On” has been activated). However, if I Force Quit with the task manager all Oculus Processes, it starts behaving normally again.

I think that the Oculus runtime and ue4 are having some kind of conflict…

Regards,

Carlos.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [October 3, 2016, 8:26pm UTC](https://forums.unrealengine.com/t/isheadmounteddisplayenabled-always-true-in-packaging-build-when-oculus-is-enabled/372240/2 "2016-10-03T20:26:11Z")

</div>

Hello ,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

1. Can you reproduce this issue in a clean project?
2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
3. Could you provide screen shots of any blueprints/settings that may be involved in this issue?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [October 7, 2016, 2:26pm UTC](https://forums.unrealengine.com/t/isheadmounteddisplayenabled-always-true-in-packaging-build-when-oculus-is-enabled/372240/3 "2016-10-07T14:26:44Z")

</div>

Hello ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Thanks,

---

<div class="post-metadata">

**Author:** ![CarlosCoronado](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CarlosCoronado](https://forums.unrealengine.com/u/CarlosCoronado)\
**Post date:** [October 7, 2016, 4:46pm UTC](https://forums.unrealengine.com/t/isheadmounteddisplayenabled-always-true-in-packaging-build-when-oculus-is-enabled/372240/4 "2016-10-07T16:46:44Z")

</div>

![110003-blankb.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/9/5a9b8f2f20dd929436807758b47a7b4768676ce8.jpeg)

Steps:

1- New blank project

2- Set level blueprint like this

3- Compile

4- If Oculus runtime are running in the background, the node returns TRUE, even with no VR active.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [October 7, 2016, 5:33pm UTC](https://forums.unrealengine.com/t/isheadmounteddisplayenabled-always-true-in-packaging-build-when-oculus-is-enabled/372240/5 "2016-10-07T17:33:00Z")

</div>

Hello ,

After running a few tests I was unable to reproduce this issue on our end. I unplugged my Oculus and follow the instructions above. Have you made any other changes to your project that may affect the outcome?
