IE9 Webplayer loses focus leaving fullscreen

Hi.

I’m having a bit of trouble on IE9. If I go to fullscreen and press Escape to leave fullscreen then the Unity webplayer loses focus. Clicking on the webplayer does not regain focus.

Has anyone else noticed behaviour like this or can suggest a fix?

A little more info,

  • This only happens on Internet Explorer on some computers. When it does happen on a computer it’s fully reproducible but not on Chrome or Firefox.
  • If you Alt-Tab away from the browser and then click on the webplayer it regains focus. After this you can no longer repro the bug.
  • I use NGUI and it still picks up the OnClick events so the application is still running normally but it does not regain focus and the Input.GetKey and Input.GetAxis functions return false / 0.
  • Reading a print in OnApplicationFocus(bool) I can see that normally when you go to fullscreen and back the application loses focus and shortly afterwards regains focus. In the bug this occurs normally when going to fullscreen but after we press Escape it just loses focus.
  • We’re using the latest versions of IE9 and Unity Webplayer.

Any help would be greatly appreciated!

Cheers for reading :slight_smile:

Hello,

I’m having the exact same issue on IE9, while other browsers have no problems.
All of the keyboard input mouse movement ceased functioning once I exit the fullscreen mode.
Has anybody been able to find a solution for this, or have similar problems?

This really seems to be a Unity / IE issue as other games (even the Angry Bots demo) appear to have the same symptoms.
I’m checking on a IE9, Windows Vista setup and also updated the Unity Webplayer to the latest version, but to no avail.
Also a ‘Unity Webplayer’ bar stays visible (next to ‘Internet Explorer’) on the Windows Taskbar after exiting fullscreen. Could this be related?