Hello all!
I have a button sprite that I want to be able to scale without distorting the corners. Currently, 9-slicing isn’t working for me. Here is the button when it’s at a native scale (with my button sprite which is just a round rectangle).

and here it is when it’s stretched:
Here are my settings for the sprite:
(hard to see in the image but it’s sliced with each corner being in its own distinct slice)
Here is the settings for my button gameObject with the sprite attached (this is when it’s stretched and distorted)
I’m guessing it’s something obvious I missed but a tl;dr:
- I’ve 9-sliced my sprite in the sprite editor
- I’ve set my Mesh Type to full rect
- I’ve set my Sprite Renderer to sliced on my button
- I’ve tried unattaching and reattaching the sprite from the button.
The button still stays distorted whenever I stretch it.
Thank you for your time!




