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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.