28-10-2022, 05:54 PM
(This post was last modified: 28-10-2022, 05:56 PM by michele_lf.)
Hello,
I have tried several times to bind a skin to this model without succeding. Video of the issue here.
I have enlarged it from this model, which seems to work fine. I have scaled it up and rotated in blender before exporting again.
The issue is that I need to scale it up about 5 times but using the solver transform causes visual issues.
I also get this error when pressing play
Mesh.SetBoneWeights() failed: Vertex 0 has zero weights.
UnityEngine.Mesh:SetBoneWeights (Unity.Collections.NativeArray`1<byte>,Unity.Collections.NativeArray`1<UnityEngine.BoneWeight1>)
Obi.ObiSoftbodySkinner:SetBoneWeights () (at Assets/Obi/Scripts/Softbody/Rendering/ObiSoftbodySkinner.cs:386)
Obi.ObiSoftbodySkinner:Setup () (at Assets/Obi/Scripts/Softbody/Rendering/ObiSoftbodySkinner.cs:135)
Obi.ObiSoftbodySkinner:UpdateSoftBones (Obi.ObiActor) (at Assets/Obi/Scripts/Softbody/Rendering/ObiSoftbodySkinner.cs:218)
Obi.ObiActor:Interpolate () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:1223)
Obi.ObiSoftbody:Interpolate () (at Assets/Obi/Scripts/Softbody/Actors/ObiSoftbody.cs:288)
Obi.ObiSolver:Interpolate (single,single) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1641)
Obi.ObiUpdater:Interpolate (single,single) (at Assets/Obi/Scripts/Common/Updaters/ObiUpdater.cs:132)
Obi.ObiFixedUpdater:Update () (at Assets/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:64)
I get no errors when generating the blueprints or binding the skin. The blueprint looks ok in edit mode.
What am I doing wrong?
Many thanks
Michele
I have tried several times to bind a skin to this model without succeding. Video of the issue here.
I have enlarged it from this model, which seems to work fine. I have scaled it up and rotated in blender before exporting again.
The issue is that I need to scale it up about 5 times but using the solver transform causes visual issues.
I also get this error when pressing play
Mesh.SetBoneWeights() failed: Vertex 0 has zero weights.
UnityEngine.Mesh:SetBoneWeights (Unity.Collections.NativeArray`1<byte>,Unity.Collections.NativeArray`1<UnityEngine.BoneWeight1>)
Obi.ObiSoftbodySkinner:SetBoneWeights () (at Assets/Obi/Scripts/Softbody/Rendering/ObiSoftbodySkinner.cs:386)
Obi.ObiSoftbodySkinner:Setup () (at Assets/Obi/Scripts/Softbody/Rendering/ObiSoftbodySkinner.cs:135)
Obi.ObiSoftbodySkinner:UpdateSoftBones (Obi.ObiActor) (at Assets/Obi/Scripts/Softbody/Rendering/ObiSoftbodySkinner.cs:218)
Obi.ObiActor:Interpolate () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:1223)
Obi.ObiSoftbody:Interpolate () (at Assets/Obi/Scripts/Softbody/Actors/ObiSoftbody.cs:288)
Obi.ObiSolver:Interpolate (single,single) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1641)
Obi.ObiUpdater:Interpolate (single,single) (at Assets/Obi/Scripts/Common/Updaters/ObiUpdater.cs:132)
Obi.ObiFixedUpdater:Update () (at Assets/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:64)
I get no errors when generating the blueprints or binding the skin. The blueprint looks ok in edit mode.
What am I doing wrong?
Many thanks
Michele