Search Issue Tracker
Fixed in 1.19.1
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment