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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment