Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.3.0
Issue ID
ISXB-54
Regression
No
"NotSupportedException: Control count per binding cannot exceed byte.MaxValue=255" when entering Play mode 32 times
Reproduction steps:
1. Open the attached "1369643.zip" project
2. Open the "SampleScene" Scene
3. Select the "Event System" Game Object
4. Replace Standalone Input module with InputSystemUIInputModule in the Inspector Window
5. Enter and Exit the Play mode 32 times
6. Observe the Console window
Expected result: No error messages appear
Actual result: "NotSupportedException: Control count per binding cannot exceed byte.MaxValue=255" and "NotSupportedException while resolving binding 'Navigate:<Gamepad>/rightStick/right\[;Gamepad]' in action map 'DefaultInputActions (UnityEngine.InputSystem.InputActionAsset):UI'" error messages appear
Reproducible with: 1.2.0, 1.3.0 (2019.4.34f1, 2020.3.26f1, 2021.2.8f1, 2022.1.0b3, 2022.2.0a2)
Reproducible with: Windows
Not reproducible with: MacOS
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
- Group Node name text is way smaller in the renaming state than the actual display size
Resolution Note:
In the provided repro project, devices are added in User.cs during object creation instead of being added/removed using OnEnable and OnDisable as suggested in previous resolution comments. Hence devices are constantly added leading to this symptom.