We’re using the tree-shaking setup with Babylon, and The line above throws TypeError subMesh.projectToRef is undefined when using hand tracking with the TouchHolographicButton.
I can resolve by importing the submesh projection module for its side effects
import "@babylonjs/core/Meshes/subMesh.project";
Perhaps WebXRNearInteraction should be importing this if it requires it, though