Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
1.8.2
Issue ID
ISXB-947
Regression
Yes
NullReferenceException is thrown when undoing newly duplicated Action Maps
Reproduction steps:
1. Open the attached “inputsystemnull.zip” project
2. Double click on the “NewActionMap.inputactions” asset from the Project Window
3. Select the “Control” Action Map in the Input Actions Edit Window
4. Duplicate it twice by pressing ‘CTRL+D’ twice
5. Undo the duplication by pressing ‘CTRL+Z’ twice
6. Observe the Console Window
Expected result: No exceptions are thrown
Actual result: “NullReferenceException: Object reference not set to an instance of an object” is thrown
Reproducible with: 1.8.0-pre.2 (2022.3.37f1, 6000.0.10f1), 1.8.2 (2022.3.37f1, 6000.0.10f1)
Not reproducible with: 1.8.0-pre.1 (2021.3.40f1, 2022.3.37f1, 6000.0.10f1), 1.8.0-pre.2 (2021.3.40f1), 1.8.2 (2021.3.40f1)
Reproducible on: Windows 10 (User reported), Windows 11
Not reproducible on: no other environment tested
Notes:
- After undoing the Actions Maps, the NullReferenceException also gets thrown when docking the Input Actions Edit Window
- The issue does not reproduce if the latest duplicated Action Map is unselected before performing the undo action
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
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Resolution Note:
Not reproducible with Input System 1.11.0+