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
- Specular lighting visible in a camera with Path Tracing when Preserve specular lighting is disabled in observed material
- Cinemachine package throws CS1061 errors in the Console when installed in a project that has HDRP and URP installed
- Editor.log file size grows rapidly when a scene exceeds the "Maximum Shadow on Screen" limit setting in the HDRP Asset
- Player build freezes after calling Application.Quit() when the scripting backend is set to IL2CPP
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
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.