Clipping Plane in WebXR

Hi, I tried to convert the existing Threejs examples of clipping plane to support webxr (by adding VR button and enabling xr on the renderer), Unfortunately, after entering XR, the code just freezes, i had earlier tried to Implement XR on my own version of Clipping Planes for Sectional view of 3D objects

Is clipping plane supported in XR , or is there any other reason the code is not working as expected?

Any advice will be very much appreciated