Skip to content

Commit 7ff4db3

Browse files
authored
Change Max Player Count error type to warning - ISXB-719 (#1828)
* Change Max Player Count error type to warning
1 parent e58f599 commit 7ff4db3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Packages/com.unity.inputsystem/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ however, it has to be formatted properly to pass verification tests.
1212

1313
### Changed
1414
- From 2023.2 forward: UI toolkit now uses the "UI" action map of project-wide actions as their default input actions. Previously, the actions were hardcoded and were based on `DefaultInputActions` asset which didn't allow user changes. Also, removing bindings or renaming the 'UI' action map of project wide actions will break UI input for UI toolkit.
15+
- Changed the 'Max player count reached' error to a warning instead.
1516

1617
### Added
1718
- Added new methods and properties to [`InputAction`](xref:UnityEngine.InputSystem.InputAction):

Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput/PlayerInputManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ private bool CheckIfPlayerCanJoin(int playerIndex = -1)
501501

502502
if (m_MaxPlayerCount >= 0 && playerCount >= m_MaxPlayerCount)
503503
{
504-
Debug.LogError("Have reached maximum player count of " + maxPlayerCount, this);
504+
Debug.LogWarning("Maximum number of supported players reached: " + maxPlayerCount, this);
505505
return false;
506506
}
507507

0 commit comments

Comments
 (0)