Unity Issue Tracker - “Mesh.SetBoneWeights() failed: Vertex (vertex number) has zero weights” only in release build
Fixed
UUM-56490
“Mesh.SetBoneWeights() failed: Vertex (vertex number) has zero weights” only in release build
Unity: Mesh
Open
6.0.X
Fixed
2023.3.X
2022.3.X
2021.3.X
Won't Fix
2023.2.X
2023.1.X
Cancelling this 2023.2 tech release issue since the support for this release has come to end of life. Cancelling this 2023.2 port case does not affect any LTS or Unity 6 Beta/Preview that remain open.
How to reproduce:
1. Open the “BoneWeightRepro“ project
2. Open the “SampleScene“
3. Go to the "File > Build Settings..."
4. Toggle off Development Build and press the "Build & Run" button
5. Once the project builds, exit the Player, then open the "Player.log" file
6. Observe the “Player.log” file
Expected result: Player Build runs without errors being logged in the “Player.log”
Actual result: “Mesh.SetBoneWeights() failed: Vertex (vertex number) has zero weights” logged in the “Player.log”