Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't remove ObiTetherConstraints (Script) because ObiRope etc
#1
Hi.
I using Unity 2019.1 beta and Obi Rope v. 4.0.2

Ropes working fine, but when exit from unity play mode (in unity editor) I always get error about removing some ropes components, on all ropes. Of course I dont try remove any thing from rope gameobject.

[Image: b6d92beaf3d7124096ac8306d51867b7.png]
Reply
#2
(17-03-2019, 10:41 AM)ra001 Wrote: Hi.
I using Unity 2019.1 beta and Obi Rope v. 4.0.2

Ropes working fine, but when exit from unity play mode (in unity editor) I always get error about removing some ropes components, on all ropes. Of course I dont try remove any thing from rope gameobject.

[Image: b6d92beaf3d7124096ac8306d51867b7.png]

Hi there,

Unfortunately we cannot reproduce this in 2018.x.

The constraint components are removed in the rope's OnDestroy(), which should be called by Unity after the rope component has been removed from the object. Either this is a bug in Unity (calling OnDestroy before the component has actually been destroyed) or some non-documented intentional change in their object lifecycle behavior. Will try it in the beta and report back.
Reply