Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

1.2.0

Issue ID

ISXB-140

Regression

No

[Input System] Out-of-focus DirectInput Gamepad devices do not set ButtonControl.wasPressedThisFrame correctly

Package: Input System

-

Reproduction steps:
1. Connect a DirectInput Gamepad to your system
2. Download and open the attached project: "InputSystemBug.zip"
3. Open the SampleScene
4. Build and Run the Windows Standalone Player
5. In the Windows app, press buttonSouth on the Gamepad (Button A/ Cross)
6. Observe the number of presses being counted in the Game view
7. Click outside the Windows app to make it lose focus
8. Press buttonSouth again

Expected result: The number of presses in Game view is still being counted
Actual result: The number of presses stops being counted until the Game view is in focus again

Reproducible with: Input System 1.1.1, Input System 1.2.0, Input System 1.3.0 (2019.4.32f1, 2020.3.23f1, 2021.1.28f1, 2021.2.3f1, 2022.1.0a14)

Notes:
- Not reproducible in the Editor (2021.3+)
- Does not repro with Xbox controller
- Tested with a PS DualShock 4 V2 controller
- Attached project sets Application.runInBackground = true

  1. Resolution Note:

    There are no fixes planned for this Bug

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.