SSR works strangely with SubViewport

Godot Version

4.2.2.stable

Question

When following these steps, the viewport will only render things with special shader:
image

  • Create SubViewportContainer, SubViewport and Camera3D
  • Set transparent_bg of SubViewport to true
  • Create WorldEnvironment and create a new environment for it, enable SSR

image
Then create anything visible object in front of the camera, the camera will only render objects with transparency, bloom, or custom shader.


SubViewport with transparent_bg and environment with SSR

SubViewport with no transparent_bg and environment with SSR

SubViewport with transparent_bg and environment with no SSR