P
P
PyChan2021-02-18 15:48:28
Unity
PyChan, 2021-02-18 15:48:28

Why does the game not see some components after restarting a level in Unity?

If you lose, the event is triggered, and the character turns on the ragdoll (I make all Rigidbody non-kinematic and turn on the colliders). Then the level restarts, then when you lose, an error pops up that the Rigidbody has been destroyed. I specifically checked the colliders and the rigid body right after the restart - everything is fine. Help solve the problem please

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question