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
- Screen Space Ambient Occlusion is ignored when toggling "Post Processing" visibility in the Scene window overlay
- “RenderTexture.Create failed: requested size is too large.” errors are thrown and the Inspector window is black when selecting a CubemapArray texture
- Crash on AMDUnityPlugin.DLL in specific built project when using FSR2 upscaler
- RenderObjects does not have any Depth texture bound when Event is set to AfterRenderingPostProcessing
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
Resolution Note (fix version 1.1-pre.5):
Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1324