Search Issue Tracker
Fixed
Fixed in 2021.3.45f1, 2022.3.48f1, 6000.0.18f1, 7000.0.0a1
Votes
0
Found in
2021.3.32f1
2022.3.13f1
2023.1.20f1
2023.2.0b17
2023.3.0a14
6000.0.0b11
7000.0.0a1
Issue ID
UUM-56490
Regression
No
“Mesh.SetBoneWeights() failed: Vertex (vertex number) has zero weights” only in release build
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”
Reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b17, 2023.3.0a14
Reproducible on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested
Notes:
- Not reproducible in Editor
- Also reproducible with free Unity 3D character module asset
- Not reproducible when the project is Build and Run with Development Build toggled on
- “Player.log” locations are:
Windows - %USERPROFILE%\AppData\LocalLow\CompanyName\ProductName\Player.log
macOS - ~/Library/Logs/Company Name/Product Name/Player.log
Linux - ~/.config/unity3d/CompanyName/ProductName/Player.log
documentation page for log files - [https://docs.unity3d.com/Manual/LogFiles.html|https://docs.unity3d.com/Manual/LogFiles.html]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment