unity
rendering_error
ai_generated
true
UI elements not rendering in correct order
ID: unity/canvas-render-order
80%Fix Rate
84%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 2022 | active | — | — | — |
Root Cause
Canvas sorting order or layer conflicts.
genericWorkarounds
-
90% success Set explicit sortingOrder on each Canvas component
-
88% success Use nested Canvas with overrideSorting for fine control
Dead Ends
Common approaches that don't work:
-
Set all canvases to same sorting order
80% fail
Everything overlaps unpredictably
-
Use Screen Space Overlay for everything
75% fail
Breaks world-space UI