Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2019.4
2019.4.21f1
2020.3
2021.1
2021.2
Issue ID
1320869
Regression
No
Mesh is shaded as black when setting BoneWeights via Advanced Mesh API
How to reproduce:
1. Open the attached project's Scene labeled "BoneWeightTestScene"
2. Enter the Play Mode
3. Inspect the generated "Advanced" and "AdvancedMeshDataArray" GameObjects
Expected result: GameObjects are shaded white
Actual result: GameObjects are shaded black
Reproducible with: 2019.4.22f1, 2020.3.1f1, 2021.1.0b12, 2021.2.0a9
Couldn't test with: 2018.4.33f1 (Missing references when downgrading the project)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note (fix version 2022.1):
Skinned meshes expect a particular stream layout (0: position,normal,tangent, 1: UVs,colors, 2: blend weights/indices). Will clarify docs and make API emit a warning if mismatching layout is attempted. Fixed in Unity 2022.1.0a2 and above.