Opaque Discs Drawing Over Cnavas
I am drawing opaque discs in immediate mode using "beginCameraRendering" but they draw on top of world space canvases. Is there anything I can do to fix this?
Reporting a bug? please specify Unity version:
2022.3.27f1
Reporting a bug? please specify Shapes version:
4.3.1
Reporting a bug? please specify Render Pipeline:
URP
What do you mean by using "beginCameraRendering" specifically?
Shapes is very sensitive to the exact moment to render in, I generally recommend using the ImmediateModeShapeDrawer helper class for this.
For example, this will draw opaque shapes properly together with world space canvases: