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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 1.3):
Fixed in Input System 1.3.0