Search Issue Tracker
Fixed in 1.1-pre.5
Votes
1
Found in [Package]
1.0.0
Issue ID
1332850
Regression
No
[Input System] Out-of-focus Gamepad devices do not set ButtonControl.wasPressedThisFrame correctly
Reproduction steps:
1. Open the attached user's project "InputSystem Bug.zip"
2. Connect a xinput compatible controller
3. In the Project Window under the "Scenes" Folder open "SampleScene.unity"
4. Enter Play Mode
5. Hold Button A (South Button) on the controller
6. Observe that the debug message in the Console Window "TestControl was pressed this frame" only appears once
7. While still in Play Mode bring the Editor out of focus
8. Hold Button A (South Button) on the controller
9. Observe that the debug message in the Console Window "TestControl was pressed this frame" is continuously printed
Expected result: debug message in the Console Window "TestControl was pressed this frame" only appears once when the Editor is out of focus
Actual result: debug message in the Console Window "TestControl was pressed this frame" is continuously printed when the Editor is out of focus (See attached InputSystem.mp4)
Reproduces on: Input System 1.0.0, Input System 1.1.0 - preview.2 (2019.4.26f1, 2020.3.7f1, 2021.1.6f1, 2021.2.0a16)
Could not test: Input System 1.1.0 - preview.3 due to the input not being registered when the Editor is out of focus
Devices used for testing:
Xbox Series X wireless controller
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
- Emojis with different skin tone options show incorrectly when "Multi Atlas Textures" is enabled in the Font Asset Properties
- Eyedropper Tool Shows Black Square UI Artifact on Cursor (Ubuntu)
- Some Emoji and Ligature sequences containing Variant Selectors are misinterpreted
- Errors “Render Graph Execution error” and "KeyNotFoundException" are thrown and Scene/Game views are not rendered when RenderGraphBuilder has AsyncCompute enabled
- Separation Line is used at the bottom of Prefab dropdown options when there is nothing to separate
Resolution Note (fix version 1.1-pre.5):
Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1324