- Home /
world canvases z fighting or rendering in the order when camera moves around
Basically, if you have two canvases and they are set to world space, the one behind will sometimes render in front depending on the camera angle.
This is the same issue described here: https://forum.unity.com/threads/world-space-canvases-sometimes-appear-behind-further-canvases.357809/ And the underlying problem described here is that they are both sorted by distance to the camera. The distance is taken from the center of the bounding box. So when we rotate the camera, the center of the black text appears “closer“ than the red text.
Increasing the spacing or changing the sort order is not an option for a VR scene that has dynamic camera angles.
Are there any fixes or workarounds to this issue?
Your answer
Follow this Question
Related Questions
UI text vs. moving camera 1 Answer
Screen Space - Camera to Screen Space - Overlay switch issue 0 Answers
Scene Is Missing A Full Screen Camera? 2 Answers
3rd party UI - World Canvas or Screen Space Camera? 0 Answers
canvas cannot show in android deveice 0 Answers