Reproduction steps:
1. Open the attached “IN-135636” project
2. Open the “Scenes/BugReproScene.unity/BugReproScene” Scene
3. Enter the Play Mode
4. Observe the Console window
Actual result: Two tests fail and errors are thrown
Expected result: Tests pass and no errors are thrown
Reproducible with: 1.4.1, 1.10.0, 1.19.0 (6000.0.69f1, 6000.3.10f1, 6000.4.0b10, 6000.5.0a8)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Workaround:
1. Locate the “com.unity.inputsystem” package under the “Library/PackageCache/” directory
2. Copy the package folder to the “Packages/” directory
3. Modify the “Packages/manifest.json” to use the copied folder (e.g., "com.unity.inputsystem": "file:com.unity.inputsystem")
4. Open the “com.unity.inputsystem/InputSystem/Devices/InputDeviceMatcher.cs” Script
5. Modify the “MatcherJson” struct:
6. Enter the Play Mode
7. Observe the Console window (Test 1 has passed)