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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
Not reproducible with Input System 1.11.0+