Unity Issue Tracker - NullReferenceException is thrown and an Action remains visible when undoing Action Map creation
Closed
UUM-141557
NullReferenceException is thrown and an Action remains visible when undoing Action Map creation
Unity: Input
In Progress
6.5.X
Cannot Reproduce
6.6.X
6000.6.0a1 onwards
Cannot reproduce: 6000.6.0a7_047dd2baefe2 & upcoming Input System 1.20.0
Steps to reproduce:
Create a new URP project
Go to Assets > Create > Input Actions
Open the created .inputactions
Click the + button next to Action Maps
Click Ctrl+Z shortcut to undo creation
Observe the Console and the Input Actions Editor
Actual results: "NullReferenceException" is thrown and an Action is still visible in the Input Actions Editor even though the Action Map creation was undone
Expected results: No errors and all Actions should be removed with the Action Map
Reproducible with versions: 6000.6.0a1, 6000.6.0a4
Not reproducible with versions: 6000.4.6f1, 6000.5.0a7, 6000.5.0b7
Tested on (OS): Windows 11
Notes:
Input System package version does not seem to be related to reproduction
Action gets removed when reopening the Input Actions Editor
Prioritise and Follow this issue
Have a workaround or additional info about this issue?