I think ugui is way too larger than the original png file, and noway of applying POT.
how to reduce the size of it???
I have a 0.5 MB png, and when I apply Sprite on it , it becomes 1.5MB!
so I am upset on this…
If you compressed a png outside of Unity, this usually will do nothing for you. For example if I use tinypng website. Unity will still take over and apply it’s own compression. You either need to make it power of two or multiple of 4 for the best compression options. Multiple of 4 is generally fairly easy to get. An 8x16 image for example works. It doesn’t have to be square.
Note it also depends on what version of unity you are using and what platform you are building for as to what options you have.
You could also add the sprite to a sprite sheet, depending on size. So you could have several images in a sprite sheet (Unity has options for this, again depending on version) so you can add a bunch of sprites to a sprite sheet which could be 1024x1024 in size and then apply compression to that sprite sheet instead.
Thx for your idea. and by “sprite sheet” did you mean Atlas??? I do had packing tag on sprites, anyway I think the final assetbundle is still too large…
Again it depends on what your original png is saved as.
Also, make sure mipmaps is off if you aren’t using them. Check what compression is being applied. Usually etc2 or I think the other is dxt I see often. If you are packing with tags, make sure your sprites are going in a sprite sheet (it will say if you check the png file if it’s in a atlas).
Unity also has a new sprite sheet in 2017.2? or .3? One of the recent versions which is much easier to use then the packing tag.
Try Crunch if struggling with build sizes. Be sure to check the actual build size and not the size reported elsewhere.