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
- Margins of TMP GameObjects become the same when both are selected
- Tile Palette 'Z Position' value changes/reverts to the previous value when hovering in the Scene
- Creating a Grid in the scene and then deleting it removes the default Grid
- Default Tile Palette layout cuts of the part of Tile Palette preview
- Editor crashes when specifying BuildOptions.DetailedBuildReport and building a player with a lot of assets
Add comment