Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.3.X
Votes
0
Found in
2019.3.0b8
Issue ID
1195047
Regression
No
[Input System] Key input get stuck on pressed state when CaptureAllKeyboardInput is set on true in WebGL
-e: see title
When I disable captureAllKeyboardInput while the button is still pressed and I release the button, the input system still thinks the button is pressed.
So, when I enable the captureAllKeyboardInput on a later point in the code. I have to press this button multiple times to get the pressed event.
-repro:
--Open the project and make sure that in the build settings in the WebGL Template “TestTemplate” is selected.
--Create a Webgl build of the SampleScene.
--Open the Index.html in your browser (I used Firefox).
--Press the spacebar and you will get a simple dialog box. The first time you do this it will work fine. Now when you close the dialog box and press spacebar again you will see that the dialog box will not show. You have the press the spacebar a second time to show. And this will happen again when you close the dialog.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
ahsen35813
Feb 06, 2022 17:05
Issue is still happening. This bug has been in place since I started using Unity (about 4 years ago) and it's extremely annoying.
axrossroad
Dec 20, 2021 08:54
Not fixed in 2021.2.7f1.
Not fixed in 2020.3.25f1.
Not fixed in 2019.4.13
Not fixed in legacy input system.
Not fixed in new input system