Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2022.1.0a4
2022.1.0a8
Issue ID
1363862
Regression
No
Pressing escape in Undo History window throws a NullReferenceException error
Steps to reproduce:
1. Create a new Unity project
2. Open Edit->Undo History
3. Make sure an undo event is selected and press Escape key
Expected result: Nothing happens
Actual result: NullReferenceException error is thrown
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.UndoHistoryWindow.OnUndoSelectionChange (System.Collections.Generic.IEnumerable`1[T] selectedItems) (at /Users/bokken/buildslave/unity/build/Editor/Mono/Undo/UndoHistoryWindow.cs:201)
UnityEngine.UIElements.BaseVerticalCollectionView.NotifyOfSelectionChange () (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Controls/BaseVerticalCollectionView.cs:1341)
UnityEngine.UIElements.BaseVerticalCollectionView.ClearSelection () (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Controls/BaseVerticalCollectionView.cs:1354)
Reproduced with: 2022.1.0a8, 2022.1.0a4 (Undo History was added in 2022.1.0a4)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- An invisible Element without edges is left over when a Preview is converted to a Floating Window in the Inspector
- All "Multiplayer Center" window becomes blank and "Console" displayes "ArgumentException: Cannot unschedule unknown scheduled function UnityEngine.UIElements.VisualElement+SimpleScheduledItem" when user changes docked "Multiplayer Center" window position
- Closing HDR Color window after selecting a colour with Colour Picker closes HDR Gradient Editor (linear) window as well
- Asset Labels label is not visible when a Preview is present in the Inspector
- Editor Perforce login fails when Perforce shows a license expiry warning
Add comment