Unity has a package which is called
"XR Interaction Toolkit", in this package there is a sample called
"Hands Interaction Demo", and in this demo there is a sample scene.
When the sample scene is used and you switch from controllers to hands by putting the controllers down the following error occurs:
Could not find active control after binding resolution
so it can not switch the controls.