Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2021.1
2021.2
2022.1
2022.1.0a5
Issue ID
1355782
Regression
Yes
No warning dialog is thrown when removing the last element if 2 GOs selected and Material in the Materials list is different
How to reproduce:
1. Open attached project "case_941.zip"
2. Open "Sample" scene
3. Select "Test" and "Test2" GameObjects in the Hierarchy
4. Expand materials list
5. Select last material in the list
6. Delete the selected materials
Expected result: Warning dialog is thrown
Actual result: No warning dialog is thrown
Reproducible with - 2022.1.0a4, 2022.1.0a5
Not reproducible with - 2019.4.28f1, 2020.3.15f1, 2021.1.16f1, 2021.2.0b6, 2022.1.0a3
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
- "NullReferenceException: Object reference not set to an instance of an object" error is thrown when attempting to remove a binding in the UIBuilder for a UxmlObjectReference
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
Resolution Note:
The warning dialog has been removed as part of the fix for issue 1277419. Previously removing the last element of a multi-selection array would end up changing all the remaining array elements to match the first object, so a special warning dialog was displayed. Now the correct behavior is implemented which is to only remove the last element and leave the other elements untouched, so the warning is no longer accurate nor needed.