Search Issue Tracker

Active

Under Consideration for 1.13.X

Votes

0

Found in [Package]

1.13.0

Issue ID

ISXB-1439

Regression

No

The Input system will stop responding to events when the number of handled inputs reaches the max Int32 value (2,147,483,647)

Package: Input System

-

How to reproduce:
1. Open the “InputBufferBug,zip“ project
2. Open the “SampleScene“
3. Enter Play Mode
4. Select the “InputSpammer“ in the Hierarchy
5. Wait until the int field reaches “2,147,483,647“
6. Focus on the Game view
7. Press the white button at the center of the Game view (put the resolution to “4K” in case the button does not appear)
8. Observe the Console

Expected result: Nothing is logged
Actual result: An “Event in buffer is already marked as handler“ error is being constantly logged

Reproducible in: 1.7.0, 1.13.0 (2022.3.58f1, 6000.0.39f1, 6000.1.0b7, 6000.2.0a4)

Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested

Notes:
- To reproduce, while the inputs are being spammed, the PlayerLoop has to stay active (Keep Editor focused)
- Reproducible in Player, and I suspect it might be reproducible on other platforms as well
- After exiting Play Mode, the Errors keep being thrown

Add comment

Log in to post comment