How to reproduce:
- Open attached “IN-139119_renderToCubemap_bug” project
- Open “SampleScene”
- Enter Play mode
- Observe the difference between left and right side
Actual Result: On the left half, parts of the “Right” canvas elements' are missing
Expected Result: Canvas elements are fully rendered and the grey plane is hidden
Reproducible with: 2023.1.0b19, 6000.0.73f1, 6000.3.14f1, 6000.4.4f1, 6000.5.0b5, 6000.6.0a3
Not reproducible with: 2023.1.0b18
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note:
- Enabling “Render Additional Time” in CaptureRig GameObject runs an additional pass of Camera.RenderToCubemap with Camera.MonoOrStereoscopicEye.Mono before everything and the view is as expected
- In versions 2023.1.0b19 - 6000.0.8f1, the workaround of calling Camera.RenderToCubemap an additional time does not work with Camera.MonoOrStereoscopicEye.Mono. In fact, Camera.MonoOrStereoscopicEye.Mono prevents in the next call of Camera.RenderToCubemap to correctly capture canvas elements
- Only reproducible with Universal Render Pipeline