Search Issue Tracker
Fixed in 2021.3.45f1
Fixed in 2021.3.X, 2022.3.X, 6000.0.X, 7000.0.0a1, future release
Votes
0
Found in
2021.3.32f1
2022.3.13f1
2023.1.20f1
2023.2.0b17
2023.3.0a14
6000.0.0b11
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Specular lighting visible in a camera with Path Tracing when Preserve specular lighting is disabled in observed material
- Cinemachine package throws CS1061 errors in the Console when installed in a project that has HDRP and URP installed
- Editor.log file size grows rapidly when a scene exceeds the "Maximum Shadow on Screen" limit setting in the HDRP Asset
- Player build freezes after calling Application.Quit() when the scripting backend is set to IL2CPP
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
Add comment