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
- "[Header]" attribute is misaligned when placed before an InputActionProperty field
- Crash on DynamicHeapAllocator::CreateTLSFBlock when opening a specific project
- Scene flickers when using Mesh Output with SpriteLit Shader in 2D project
- “Cache Management” text is misaligned in Preferences > Package Manager
- [macOS] network permission shows the name of previously closed app when different app requests network access
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.