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
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
- New selector in Matching Selectors displays as on line -1 in debugger
- The first frames are skipped when playing a video
Resolution Note (fix version 1.3):
Fixed in Input System 1.3.0