There seems to be an issue with forwarding ref in versions 2.0.0 and 2.1.0. It's a bug; they probably forgot to use ForwardRef when exporting the RigidBody Component. You can downgrade to 1.5.0, and your code will probably work :). Let's hope they'll fix it fast.