I’m working on building a portal feature in my mixed reality game for the Quest 3. My method involves using an invisible mesh that only appears in the depth pass to hide objects located behind the portal.
For this mesh, I’ve enabled “Render in Depth Pass” and disabled “Render in Main Pass.” This setup functions perfectly in the XR simulator, but when I deploy it to the actual Quest device, it doesn’t behave as expected—the effect doesn’t work.