I have a "Giblets" script which OnDestroy clones parts of the gameObject I'm destroying, gives them a rigidbody, and then throws them into the air.
There are two problems with this. First one is when I stop the scene I get the above error message, and they are still in my Hierarchy. Second problem is that even with the rigidbody they fall right through the floor. Any ideas?
Here's the code:
asked Mar 15 '11 at 12:56 AM
I was having the same trouble. This answer to another question should solve your issue. http://answers.unity3d.com/questions/54674/is-there-a-way-to-know-when-the-application-is-in.html