# steamVR main window lost focus

**URL:** <https://forums.unrealengine.com/t/steamvr-main-window-lost-focus/345712>\
**Category:** Community & Industry Discussion\
**Tags:** focus, SteamVR, Vive, unreal-engine, hmd, fullscreen, question\
**Created:** [January 29, 2016, 12:39am UTC](https://forums.unrealengine.com/t/steamvr-main-window-lost-focus/345712 "2016-01-29T00:39:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_12c704cc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_12c704cc](https://forums.unrealengine.com/u/anonymous_user_12c704cc)\
**Post date:** [January 29, 2016, 12:39am UTC](https://forums.unrealengine.com/t/steamvr-main-window-lost-focus/345712/1 "2016-01-29T00:39:22Z")

</div>

Hi,

We package our game into Win64 executable. Running on Win8 or Win10.  
When it launches, we have a “fullscreen” command executed for switch to HMD, but for the focus is not on the main window(Switch to VRCompositor?), there is correct game screen on HMD and head rotation also works, but the sound system and Keyboard Mouse input is not responding.  
After ALT-TAB switch to the main window, the sound and keyboard mouse are enabled.  
How can we do to maintain focus on the main window? We tried many ways, including “Set Input Mode Game Only”, “Set Focus to Game Viewport”, even write a BlueprintStaticLibrary to SetActiveWindow, all are not capable to change the focus back to the main window.

---

<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:** [January 29, 2016, 5:50pm UTC](https://forums.unrealengine.com/t/steamvr-main-window-lost-focus/345712/2 "2016-01-29T17:50:05Z")

</div>

Hello rz1974,

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 in order to reproduce this issue on our end?
3. Could you provide and code and/or screen shots of any blueprints that may be involved?
4. If not, could you provide the project or a sample project that reproduces 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:** [February 1, 2016, 6:39pm UTC](https://forums.unrealengine.com/t/steamvr-main-window-lost-focus/345712/3 "2016-02-01T18:39:06Z")

</div>

Hello rz1974,

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 offer further assistance.

Thank you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_12c704cc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_12c704cc](https://forums.unrealengine.com/u/anonymous_user_12c704cc)\
**Post date:** [February 2, 2016, 1:21am UTC](https://forums.unrealengine.com/t/steamvr-main-window-lost-focus/345712/4 "2016-02-02T01:21:32Z")

</div>

1. Yes, it remains the issue in a new project.

2. Create a new project, make sure SteamVR plugin is enabled, package the project. Execute the execution file. The focus will be lost when the game screen is ready.

3. No blueprints is needed.

---

<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:** [February 4, 2016, 3:14pm UTC](https://forums.unrealengine.com/t/steamvr-main-window-lost-focus/345712/5 "2016-02-04T15:14:33Z")

</div>

Hello rz1974,

Could you try disabling the oculus plugins and then cook again?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_12c704cc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_12c704cc](https://forums.unrealengine.com/u/anonymous_user_12c704cc)\
**Post date:** [February 5, 2016, 1:47am UTC](https://forums.unrealengine.com/t/steamvr-main-window-lost-focus/345712/6 "2016-02-05T01:47:14Z")

</div>

Hello Rudy,

No luck. Still.

---

<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:** [April 8, 2016, 7:22pm UTC](https://forums.unrealengine.com/t/steamvr-main-window-lost-focus/345712/7 "2016-04-08T19:22:20Z")

</div>

Hello rz1974,

I was able to reproduce this issue on our end. I have written up a report (UE-29254) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.

Make it a great day

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_12c704cc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_12c704cc](https://forums.unrealengine.com/u/anonymous_user_12c704cc)\
**Post date:** [April 11, 2016, 1:23am UTC](https://forums.unrealengine.com/t/steamvr-main-window-lost-focus/345712/8 "2016-04-11T01:23:41Z")

</div>

Hi,

For your information, we had a work around by using SteamVR’s playlist.  
When adding the executable to SteamVR’s playlist, the sound system will be on focus right after start. But it is still need to be fixed in the standalone situation.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6b7e2e01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6b7e2e01](https://forums.unrealengine.com/u/anonymous_user_6b7e2e01)\
**Post date:** [February 27, 2017, 10:59pm UTC](https://forums.unrealengine.com/t/steamvr-main-window-lost-focus/345712/9 "2017-02-27T22:59:24Z")

</div>

I’m also having this issue. I’m on 4.15. Any solutions to this problem?

---

<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:** [March 6, 2017, 3:44pm UTC](https://forums.unrealengine.com/t/steamvr-main-window-lost-focus/345712/10 "2017-03-06T15:44:46Z")

</div>

Hello Disting,

If you are having this issue in a 4.15, 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 settings/blueprints that may be involved?

---

<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:** [March 9, 2017, 7:49pm UTC](https://forums.unrealengine.com/t/steamvr-main-window-lost-focus/345712/11 "2017-03-09T19:49:32Z")

</div>

Hello Disting,

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,
