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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note (fix version 1.3):
Fixed in Input System 1.3.0