Rapier3d physic bug

What caching problem are you refering to? The rapier error can happen if somewhere in your project a Object3D with a Collider or Rigidbody gets invalid values (e.g. NaN values) as far as I know.