Game Animation Sample character physics issue

Hi everyone!
I was trying to add my character to the game animation sample, but I ran into the problem that the physics simulation puts the character into a tube at some point. I have created a physics asset where several bones of a character react to movement in real time, and as soon as I switch from kinematic to simulated, the character turns into what you see in the picture at a random moment. Has anyone encountered this?

UPD.
Just discovered the error is happening with this log:

LogChaos: Bone Index 8 out of bounds (0 Bones)
LogChaos: Bone Index 10 out of bounds (0 Bones)
LogChaos: Bone Index 14 out of bounds (0 Bones)
LogChaos: Bone Index 79 out of bounds (0 Bones)
LogChaos: Bone Index 88 out of bounds (0 Bones)

These bones are the ones that simulate physics.