XR has, under the hood, two different cameras for the left and right eyes, and they should be included in the rendering pipeline’s list of cameras. There was another question about it, and I am about to debug why the other example doesn’t work, so I will combine the answer there, if it’s fine with you
Problem on pipeline with VR device - Questions - Babylon.js (babylonjs.com)