Canvas Screen Space Camera sorting layers not working..

Hey I have two sibling canvases in the scene, one is a canvas for the menu and another for the gameplay. I have two seperate cameras for the canvases. I tried making two sorting layers and assigning the canvases with the respective sorting layer so that I can render one canvas infront of the other. But it just doesnt work. One same canvas is always rendered infront of the other, I cant seem to change it. Sorting order and sorting layers work in Screen Space Overlay, but not in Screen Space Camera…Am I missing something here??..Please help!!..Thanks in advance.

Maybe you need to look at parameter “Depth” of Camera component. “Depth - The camera’s position in the draw order. Cameras with a larger value will be drawn on top of cameras with a smaller value.” Camera