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
- Shader transparency, discard, and clip are not working when using the Player
- Error is thrown when clicking on warning in the console
- Long IL2CPP build time when project has a .ufbx library wrapper
- Cursor doesn't change to the resizing when using the Rect Tool and the Sprite is too close to the bottom of the Scene View
- InvalidOperationException exception is thrown when Editor Default Text Rendering Mode is set to "Bitmap" and Editor Font is set to "System Font" and an array is expanded in the Inspector Window
Resolution Note:
Not reproducible with Input System 1.11.0+