Maybe you can use the class GeometryUtils instead? https://docs.unity3d.com/Packages/c....4/api/Unity.XRTools.Utils.GeometryUtils.html