Search Issue Tracker
Fixed
Fixed in 5.0.x
Votes
0
Found in [Package]
4.0.5
5.0.7
Issue ID
PBLD-49
Regression
Yes
[ProBuilder] A Material is not removed from the GameObject when a face is removed which is the only one using that Material
How to reproduce:
1. Open the user's attached "PB_SubMeshInconsistency" project
2. Open the Scene "SampleScene"
3. In the Hierarchy select the "Cube"
4. Open the ProBuilder window (Tools->ProBuilder->ProBuilder Tools)
5. In the ProBuilder toolbar select Face mode
6. Select the green (top) face
7. In the ProBuilder window press "Delete Faces"
Expected results: The green Material is removed from the Cube's Mesh Renderer's Material list
Actual results: The green Material stays in the Cube's Mesh Renderer's Material list
Reproducible with: 4.0.5 (2018.4.34f1, 2019.4.25f1, 2020.3.6f1), 5.0.3 (2019.4.25f1, 2020.3.7f1, 2021.1.6f1, 2021.2.0a16)
No reproducible with: 4.0.4 (2018.4.34f1)
Note:
- If the removed face is using the Material that's last in the list of the Mesh Renderers Materials then that Material will be applied to other faces
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment