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 ![]()