Overlay camera doesn't overlay text or sprites

Okay, here’s the deal: I have Main Camera as a Base camera and Reticles Camera as an Overlay camera in Main Camera’s stack. Main Camera is set to the Default layer, Reticles Camera is set to the Reticle Text layer.

When targeting an enemy’s space, I display targeting reticles with information about damage and to-hit chance on the enemy’s square. These Reticle Tile game objects have sprites and TextMeshPro objects as children, each set to the Reticle Text layer. So they should overlay the base camera, right?

Well, before upgrading to URP, these overlayed everything on the Default layer no problem. Now, however, I can only get the text to behave as an overlay by swapping the shader to TextMeshPro/Distance Field Overlay, and I can’t get the sprites to overlay at all.

This bug still exists, in case anyone at Unity cares about fixing it.

I used an overlay camera with UI Canvas and had the same issue.
Turns out you just have to set Render Camera on the Canvas to the camera you’ll be using for rendering the canvas.

Thanks, but the bug I’m reporting isn’t in a Canvas context: the reticles are gameobjects spawned in the scene without any sort of Canvas.

I understand, just wanted to post the solution for those who have this issue with Canvas and found this post :slight_smile:
Sorry that didn’t help you though