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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.