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
- Performance decreases significantly when instantiating a Prefab with many children
- "MissingReferenceException" error is thrown when creating a new "Standard (URP)" scene
- Silent crash when opening a specific project
- "+" shaped artifacts are rendered on UI Toolkit Buttons when the border radius is over 50%, button's opacity is set to 1 and the border has width
- All references to Sprite Atlas and AssetReferenceAtlasedSprite are removed when migrating Sprite Atlas Mode from V1 to V2
Add comment