Problem in text

As I’ve shown in the photo, I have two sprites with the text, but when one of the sprites falls below the other, it doesn’t happen for the text, how do I fix this?


It might be because your sprites are on different layers, and the text is on the canvas. Try checking the layers for your sprites and make sure they’re on the same one.

Check sprite renderer → order in layer.

The solution to this problem is to select a single value for the order in layer for each Sprite and canvas ، And it’s better to have a value
Example :
Canvas === > Order in layer : 1
Sprite === > Order in layer : 1