Canvas Text Draws behind in-world objects
I am playing with the Shapes Samples and noticed something with the IMCanvas Sample.
I performed the following steps:
- Imported to my project
- The Unity Starter Assets – Third Person Controller
- The Shapes Library
- Included in SampleScene
- 3D Object (for the ground)
- Plane
- Starter Assets (For Third-Person Controls)
- PlayerFollowCamera
- PlayerArmature
- MainCamera
- Shapes (for the HUD)
- Copy of Canvas from the Shapes Samples Scene: IMCanvas
- 3D Object (for the ground)
As I pan the camera around:
- The Canvas Drawing of shapes shows as expected.
- The Canvas Drawing of text always draws behind the ground plane. (see images below)
Is this expected behavior?
Is there a recommendation on how to get the HUD Text?
Otherwise, this is a perfect feature and I would like to make use of it.
Reporting a bug? please specify Unity version:
2022.3.12f1
Reporting a bug? please specify Shapes version:
Shapes 4.5.0
Reporting a bug? please specify Render Pipeline:
URP