Search Issue Tracker
Fixed in 1.1-preview.2
Votes
1
Found in [Package]
1.0.0
Issue ID
1268008
Regression
No
IndexOutOfRange error when disabling actionmap with button
How to reproduce:
1. Open the attached "InputActionMapStackBug.zip" project
2. Open the "SampleScene" Scene
3. Connect Xbox One controller -> Enter the Play Mode
4. Press A (submit) on an Xbox One controller -> Press B (cancel)
5. Observe Console Window
Expected result: No errors appear
Actual result: "IndexOutOfRangeException while executing 'performed' callbacks" error appears
Reproducible with: 2019.4.8f1, 2020.1.2f1, 2020.2.0a20 (1.0.0)
Full error:
IndexOutOfRangeException while executing 'performed' callbacks of 'UI/Cancel[/Keyboard/escape,/XInputControllerWindows/buttonEast]'
UnityEngine.InputSystem.LowLevel.NativeInputRuntime/<>c__DisplayClass7_0:<set_onUpdate>b__0 (UnityEngineInternal.Input.NativeInputUpdateType,UnityEngineInternal.Input.NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate (UnityEngineInternal.Input.NativeInputUpdateType,intptr)
Notes:
- Could not test on 2018.4, because input System Package is not available in that stream
- Could not on versions lower than 1.0.0, because of Scripting errors
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
- FrameTimingManager.GetLatestTimings adds background time to the next focused frame when the Player is unfocused
- PropertyDrawer gets disposed while still being active when adding a secondary component
- Realtime GI behaves differently when using Unlit (Amplify) and Lit (Shader Graph) shaders in URP
- API Updater strips Unity-owned Custom Attribute references within precompiled DLLs
Add comment