Sorting layer of TextMesh Pro isn't working

I have tried all possible ways to change the layer of Text (its default is UI, I changed it to “4: Water” then “2: Ignore Raycast”, “1: TransparentFX” I even created my own layer “3: Random” and set layer of Text to it and changed the layer of cube to higher layer like “5: UI” and all other layers… sorting layers in canvas renderer component isn’t there that’s why I tried to change layer of gameobject itself.

Simply, how to make this cube above this number(which is TextMesh Pro) ?

8396001--1108281--Centered UI Text Above Cube.PNG


8396001--1108287--Screenshot 2022-08-27 202636.png

Solved.

Duplicated my canvas render type from layout to camera (dropped main camera game object)