31-10-2025, 02:03 PM
(31-10-2025, 01:30 PM)josemendez Wrote: Yes, you can of course encounter it when the skinmap is not valid. For instance if you set a vertex weld distance in the blueprint that’s too high, causing many vertices to collapse. Or if you bind a custom skinmap, modify the cloth blueprint but forget to re-bind the skinmap afterwards (since skinning data becomes stale).
OP mentions this also happens to him with the included example blueprint however, which I can’t get to happen.
Also tried other meshes to no avail.
I guess it might be hard to reproduce it, I feel like it can be device related thing, because as far as I remember version of unity was the same. Maybe it's some package version or library.
In any case I encountered the same problem with default one and also I am unable to generate one.
Sample scene with tearable cloth just throws following excpetion, but if I try to press generate it produces even more errors.
Quote:Invalid skinmap in cloth renderer (Obi Tearable Cloth). Make sure the skinmap is not null and suitable for the mesh and cloth blueprint being used.
UnityEngine.Debug:LogError (object)
Obi.ObiClothRendererBase:ValidateRenderer () (at Assets/Obi/Scripts/Cloth/Rendering/ObiClothRendererBase.cs:48)
Obi.ObiTearableClothRenderer:ValidateRenderer () (at Assets/Obi/Scripts/Cloth/Rendering/ObiTearableClothRenderer.cs:139)
Obi.ObiRenderer`1:RegisterRenderer (Obi.ObiSolver) (at Assets/Obi/Scripts/Common/Rendering/ObiRenderer.cs:39)
Obi.ObiActorRenderer`1:ObiActorRenderer_OnBlueprintLoaded (Obi.ObiActor,Obi.ObiActorBlueprint) (at Assets/Obi/Scripts/Common/Rendering/ObiActorRenderer.cs:40)
Obi.ObiActor:LoadBlueprint () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:1283)
Obi.ObiClothBase:LoadBlueprint () (at Assets/Obi/Scripts/Cloth/Actors/ObiClothBase.cs:181)
Obi.ObiTearableCloth:LoadBlueprint () (at Assets/Obi/Scripts/Cloth/Actors/ObiTearableCloth.cs:74)
Obi.ObiSolver:InsertBufferedActor (Obi.ObiActor) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:2061)
Obi.ObiSolver:StartSimulation (single,int) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1714)
Obi.ObiSolver:LateUpdate () (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1230)

