Hello,
I have a TextMesh Pro object that uses a sprite asset.
I have set the Order in Layer field, when the game runs the text is rendering fine but the sprite asset is rendering below other elements.
Is some flag that I need to set specifically for the sprite asset?
1 Like
I presume you are referencing / using normal objects. Correct?
When you describe setting the Order in Layer on the text object, you mean in the Extra Settings of the text object as seen below. Correct?
Since Sprites / Inline Graphics are contained in child SubMesh objects, these also have their own controls for Sorting Layer and Sorting Order as seen below where you can control the sorting.
12 Likes
The option is there for the normal component that works with the MeshRenderer but it is not available for the component that works with the Canvas system and CanvasRenderer since sorting order with the Canvas system is determined by scene hierarchy.
3 Likes
Yeah, I figured out I was looking at a wrong one. You managed to reply just before I deleted my post 
Sorry.
Thanks so much, couldn’t figure this out.