Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Removing Cloth Component
#2
(11-08-2018, 01:17 AM)jaleopold Wrote: When a cloth component is removed from a piece of skinned geometry it makes the mesh disappear with no apparent way to bring it back. The node is still there with the mesh renderer enabled, but its invisible.

Note that this is not a bug but a side effect of Obi's overriding of Unity's skinning system: when you add a ObiCloth component to an object, the mesh is assumed to be the one used to generate the topology. If the topology is null or empty at the time of removing the ObiCloth component, then the SkinnedMeshRenderer's mesh will be set to null.

Quote:with no apparent way to bring it back
Simply reassign the mesh to the SkinnedMeshRenderer's "Mesh" property manually in the inspector, or through code.
Reply


Messages In This Thread
Removing Cloth Component - by jaleopold - 11-08-2018, 01:17 AM
RE: Removing Cloth Component - by josemendez - 16-08-2018, 03:04 PM