Bug in GetKey not releasing on losing focus

If you hold down a key (say left shift) then click outside of the game to lose focus and release the key Unity assumes the key is still being held when returning focus. This appears to be different behavior from in the editor.

Is there any way to force the key ‘release’ on losing focus or will this require a Unity update? Thanks!

Would you mind submitting a bug report about this, and post the bug number here ?

thanks!

Bug report submitted … case #797338 https://fogbugz.unity3d.com/default.asp?797338_h3jsjpp3ljes7v95