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
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
- "Object.FindObjectsOfType<T>() is obsolete" warning is thrown when using "Transitions Plus" asset
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.