characters respawn with body at dead animation but collider no


I use legacy animations,i have some characters that i attached them a death animation.

When i kill them they respawn(with a pool system) and they appear layed down like the end of dead animation instead of standed up,when they respawn for first time and the the capsule collider is like they are standing up normally.

why is that happening?

You’re going to have to be a bit more specific on how you are executing this task. I imagine that your respawning script is calling the last animation of the character. You must also call the animation that is called in Start() or Awake().