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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment