Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Packages/com.unity.inputsystem/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ however, it has to be formatted properly to pass verification tests.

### Changed
- Renamed editor Resources directories to PackageResources to fix package validation warnings.
- PlayerInput component now warns if the system cannot find matching control scheme, which can occur if all control schemes already paired (e.g. to other game objects with PlayerInput components) [ISXB-1020](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1020)

## [1.11.0] - 2024-09-10

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1463,7 +1463,15 @@ private void AssignUserAndDevices()
{
var controlScheme = InputControlScheme.FindControlSchemeForDevices(availableDevices, m_Actions.controlSchemes);
if (controlScheme != null)
{
TryToActivateControlScheme(controlScheme.Value);
}
else
{
// The device count check is here to allow the unit tests to pass (and not trigger this error message)
if (InputSystem.devices.Count > 0 && availableDevices.Count == 0)
Debug.LogError($"Cannot find matching control scheme for {this.name} (all control schemes already paired)", this);
}
}
}
}
Expand Down
Loading