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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.