I have a 2D Unity (2022.3.5f1) project it contains a camera, canvas and the TMPro UI elements are components of childs of the canvas. The problem is that these components are (when active) visible through other UI like sprites (I checked the sprites are on top from the z-coordinate).
I changed the shader of the TMPro components to every other shader but none of them helped fixing the problem. I ran out of ideas what I can try.
basic example of button that is visible through white square
Thanks for your help!