sliced sprite not working correctly.

Has anyone managed to get sliced sprite to work. I’m using 4.6.1.p2 and it’s definitely not scaling correctly.
I’ve searched the forums and saw that it was a tracked issue before that was fixed. But it is still now working.
Any ideas?
Thanks

Same issue here. I’m also using 4.6.1p2 and I’m still having issues with some of the default Unity UI sliced sprites: Specifically the “SF Window” (the one with the more transparent center) and the SF Button hover.

Funny thing is, they all worked fine in the Unity Demo scenes – but when I try to use them in my own projects, they don’t scale correctly – sometimes even looks terribly distorted. At first, I thought it may have been because I was using combinations of nested panels and complex layout configurations that it couldn’t handle – so then I created a brand new scene and added nothing a button with the sliced sprite SF Button Hover image with all default settings and default canvas and it still looks messed up.

Also, this is all happening in the Unity Editor.

UPDATE: OK, so I turned off mip-maps on the problem sliced sprites and it looks correct now (I’m using Canvas Screen Overlay mode).

But then again, there are other sliced sprites which has mip-maps turned on that looks OK – but they also happen to be a POT image. SF Generic button is an example of one that looks OK with mip maps turned on.

Could it be a combination of using mip maps on a NPOT image that is the root issue?

Manny

Can you post a picture of the incorrect button?

Absolutely, here ya go. Below is a brand new scene in my current project. I created a UI Button and let Unity auto create the canvas for me. All values and settings are at their defaults. All I did was select the “SF Button - Hover” sliced sprite image:

UPDATE: Also, I’m running Unity Editor on Mac OS X 10.9.5 and the Build Settings Platform is iOS.

Thanks.

what’s going on with this? is there any fix?

Has anyone reported a bug? Is there a bug Id I can look at?

Sliced and Tiles aren’t working right now in 5.3.1f1
Images type ‘Sliced’ look like this:

If you change image type property to ‘Tiles’ crash Unity and freeze the computer.

Have you tried the latest patch release?

Yep, it’s working in 5.3.2f1.

Thanks!

1 Like

Sorry, it’s not working. The installation wasn’t complete when it worked.
But now it’s broke like the images above and the Tile type continue crashing unity and freezing windows.

Can you file a bug report with an example sprite so we can take a look.

I started a new project and doesn’t happen any of the issues. The engineers in my project are checking what’s going on.
When I have news, I’ll share them.

Thanks

1 Like

It was the Canvas Scaler/Reference Pixels Per Units was equal to 0. That was crashing Unity when a image is Tile type.

Thanks ill try it out

Any progress on this issue?

Can you please file a bug report?