Hey,
I am using a Sprite Asset to show icons (rich text) in a button label. This works fine as long as I do not set Text Shadow Offset or Blur Radius to values other than zero.
Text Shadow Offset & Blur Radius = 0
Text Shadow Offset.x = 1
This is the material Unity created with the Sprite Asset. Maybe text shadows mess up the clip rect in the sprite shader?
Is anyone else experiencing this? Is there a workaround?
Cheers,
Dirk
Hi @Destruxion ! Thank a lot for bringing this up. It is a bug. Could you log the issue ? (See how to report a bug)
In the meantime, you can use the built-in Icon property. It was added in 2023.2.
2 Likes
HugoBD-Unity:
Hi @Destruxion ! Thank a lot for bringing this up. It is a bug. Could you log the issue ? (See how to report a bug)
In the meantime, you can use the built-in Icon property. It was added in 2023.2.
Thanks, I have logged a bug report.
1 Like