Search Issue Tracker
Fixed in 1.1-pre.5
Found in [Package]
Crash when adding InputSystem.Update() to InputSystem command handler to force processing an event and sending input
How to reproduce:
1. Open the attached project ('InputSystemUnityCrashBug.zip')
2. Enter Play Mode
3. Click the up and down arrow keys (using the keyboard) a few times
Reproducible with: 2020.2.6f1, 2021.1.0b7, 2021.2.0a5 (1.1.0-preview.1, 1.1.0-preview.3)
Could not test with: 2018.4.32f1, 2019.4.20f1 (errors when downgrading)
Could not test with package version: 1.0.2 ('IInputActionCollection2' not yet implemented)
This error message might appear before the crash: 'StackOverflowException: The requested operation caused a stack overflow.'
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- With specific Windows 10 settings, the player window resolution does not match the values passed into Screen.SetResolution()
- Material leaks memory when using PostProcess-Layer
- [URP] Adreno GPU is not getting the required vertex data
- [DX12] ShaderData.VariantCompileInfo.ShaderData contains 38 extra bytes on DirectX 12
- Dynamic lights still show up in the Profiler consuming time when "Main Light" and "Additional Lights" are disabled in the UniversalRP-HighQuality asset
Resolution Note (fix version 1.1-pre.5):
the bug is fixed now in the sense that users are not allowed to call InputSystem.Update() from inside an input system action handler.