Search Issue Tracker
Active
Votes
0
Found in
1.18.0
Issue ID
UUM-135670
Regression
No
Device capability matching fails when registering a layout using JSON "device.capabilities"
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:
{noformat}internal struct MatcherJson
{...
[Serializable] // add this line
public struct Capability
{
public string path;
public string value;
}
...
}{noformat}
6. Enter the Play Mode
7. Observe the Console window (Test 1 has passed)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Custom Function" Node "Input" type changes do not immediately show mistmatch errors when set to an incompatible type in Shader Graph
- My Assets list is populated with Asset Packages when setting how many Packages to display before clicking the Load button
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
- Localization Group Rules bypasses Locale logic when SharedGroup asset provided
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
Add comment