Search Issue Tracker
Fixed in 1.3.X
Votes
0
Found in [Package]
1.1.0-preview.2
Issue ID
1295178
Regression
No
Multi tap and Hold Interactions are not fired after running a test when the test has "InputSystem.AddDevice<Mouse>()" function
How to reproduce:
1. Open the attached "1295178_Repro" project
2. Open the "Double Click" Scene
3. Open the Test Runner window (Window->General->Test Runner)
4. In the Test Runner select the PlayMode section and Run All tests
5. After the test finished enter the Play Mode
6. In the Game view double click with the left mouse button
Expected results: A "Double click Mouse" message is logged in the Console
Actual results: A "Double click Mouse" message is not logged in the Console
Reproducible with: 0.2.10-preview, 1.1.0-preview.2 (2019.4.16f1, 2020.1.16f1, 2020.2.0b14, 2021.1.0a8)
Could not test with: 0.2.8-preview and earlier because of the CS0234 and CS0246 errors
Notes:
- Restarting the Editor fixes the issue
- Happens with every Test Framework version
- Hold Interaction works once after running a test (just once, not once per Play Mode session)
- Only the "performed" callback doesn't work, "started" and "canceled" callbacks work
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
- SIGSEGV error when adding EditorApplication.delayCall callback declared in complex generic type and exiting Unity in `Performanc
- Resize cursor does not appear while approaching window edge from inside the player window when using Input System as the Input Handler
- IMGUI Debugger Instructions are flickering when the Inspected View is set to Scene and mouse cursor is moved over the Scene View
- [Windows] “GUI Window tried to begin rendering while something else had not finished rendering!…” Error is thrown after opening “Insert a template into current VFX Asset” window
- No InvalidOperationException error thrown when Active Input Handling is set to "Input System package" and "OnMouseDown()" is triggered
Resolution Note (fix version 1.3):
Fixed in Input System 1.3.0