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
- "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
Add comment