I have a following sprite (with 11px top/bottom borders)
Here’s how it looks Tiled in UGUI with width 100, height 6 and Pixels Per Unity Multiplier 3:
And here’s how the same sprite looks in UITK (with same sizes, background-repeat: repeat and background-size: 33% 100%):
And nothing helps in making repeat work.
As I found out, this is because of slicing. For example, the same sprite without slicing looks like this:
But the moment I’m adding same slicing settings in UITK it breaks repeat:
Is this a bug? Or is it expected behavior that slicing breaks repeat?
We haven’t fully transitioned to UITK in our project. Some UIs still use UGUI and some UITK. From this it looks we need to make separate sprites to make repeat work in UGUI and UITK, which is sad.
We’re using Unity 6000.0.28f1