Search Issue Tracker

Fixed in 1.2.0



Found in [Package]


Issue ID




[Input System] Errors are thrown when disconnecting controller while holding a button with Press and Release set up separately

Package: Input System


How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Connect a controller
3. Enter the Play Mode
4. Hold the 'South' button
5. Disconnect the controller while holding the button

Expected result: No errors are thrown
Actual result: "InvalidOperationException: Cannot query value of control '/XboxGamepadMacOS/buttonSouth' before 'XboxGamepadMacOS' has been added to system!" is thrown

Reproducible with: 1.1.0-pre.5 (2019.4.29f1, 2020.3.16f1, 2021.1.17f1, 2021.2.0b7, 2022.1.0a5)

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.