How to render ui only in UI Camera?

I’m new to URP,and in Unity 2019.3f ,no camera stacking ., the UI will render on main camera in scene.Now int Unity 2019.4f,the camera stacking is availavble , but only to render other Models of one camera on another camera.I want to render Models only in main camera , and UI only in UI Camera,to set different post processing.And which amazes me is that even I create main camera and UI camera ,each for correct layers and renderer settings, UI elements will permanently show in Game window ,even I disable two cameras.
Does anyone know what’s wrong with this ,and how to render ui only in UI Camera?



6150289--671818--J0XTNXE$~Q2EM4@G4BD)2~8.png
6150289--671821--~Z3DP)MUK%DYE3Z}UZRNSSX.png

1 Like

You can change the culling mask on Main Camera

You did not attach an image about your actual pipeline assets also cannot see your camera stack settings, please show us.

In your Project Settings navigate to Quality
Check the name of the actually used pipeline asset at Rendering

Then select the pipeline asset in the project assets browser, in the Inspector make sure you’ve added all the required renderers to that asset

This one works for me though i’m on Unity 2021.1.28f1