OnCollisionExit when disabling or destroying an object

Hi there !

I have a simple problem. I need to know when my characters are leaving a platform, and some of these platforms can be destroyed (disabled in order to restart the level quickly). But, when an object with a Collider is disabled or destroyed, the OnCollisionExit event is not raised.
Is there any solution or should I a workaround ?

Thanks !

Just call custom function before destroying a object.

Yep, but it’s a bit annoying. My destroyed object doesn’t have any references to these objects. I could store which object is colliding in a list, but this isn’t a ‘clean’ solution.