2D LightWeight Renderer scene with 2 cameras, 2D lights and PostProcessing

  • Empty 2D scene.
  • 2 Cameras: Main that displays everything except one Canvas (UI elements) and has PostProcess on it, UICamera that displays Canvas only one layer with some UI elements.
  • Main camera has depth 0, UICamera depth 1 since UI should be above sprites
  • Main camera displays sprites with lights and everything is ok. Even PostProcessing works.
  • UICamera displays Canvas with UI elements but it is not transparent despite the fact that color is set to transparent.
    Please help. I’m missing something obvious or there is a bug when 2 cameras are present in the scene.
    Before converting to Lightweight everything worked as a charm. Both cameras worked as expected. As soon as I set everything for Lightweight second camera becomes non transparent.

Camera stacking is not available in URP at the moment, check out this table:
https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@7.0/manual/universalrp-builtin-feature-comparison.html

1 Like

Unfortunately I have came to same conclusion. Shame. But that link is gold. Thanks you.