I work on a physics-heavy project with a lot of rigid-bodies which is also code-heavy. I have a lot of scripts, that create forces, manage joints and so on.
For some reason, sometimes a randomly a certain Object is destroyed. It just disappears and is gone. I can't figure out which script causes that. Is there a way to find out which script called Ondestroy or something.
Thanks for you help.