I have a playground here https://www.babylonjs-playground.com/#F41V6N#39 that places the sphere in front of the XR camera every second. It works if you change playground version to 4.1.0 but not if its the latest 4.2.0-alpha.23. In the latest version it just places there sphere in the same place
Will check that. Probably the view matrix calculation.