Search Issue Tracker

Fixed in 2019.3.X

Votes

0

Found in

2018.3.0f2

Issue ID

1129894

Regression

No

WebGL Player does not detect focus lost when clicking outside of the game window

WebGL

-

Steps to reproduce:
1. Download and open the attached project
2. Build and run for WebGL
3. Press and hold any of the arrow keys
4. Click away somewhere outside the game window, but in the same browser window

Expected result: focus loss is registered, input is reset
Actual result: focus is not registered and the input axis value stays at what it was before clicking off

Reproduced on 2017.4.0f1, 2017.4.21f1, 2018.3.7f1, 2019.1.0b4, 2019.2.0a6

Notes: it also does not instantly reset input upon refocusing the game view

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.