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
- Different build sizes between Editor build and command-line build when "Static Batching" is enabled
- Particle System "Start Rotation" property affects a different axis when upgrading to newer Editor versions
- "Light" Component's "Culling Mask" setting is hidden but still has an effect when using HDRP
- Selecting the Web platform can be done when using the HDRP project
- Textures swap when SpriteRenderers with shared materials and animators are toggled on and off
Resolution Note (fix version 1.3):
Fixed in Input System 1.3.0