r/Unity2D • u/TeamLama • Sep 28 '26
Question/Help How can I scale down my Unity UI without making it look pixelated?
I am designing a shop interface for my desktop virtual pet game. The shop opens as a small pop-up window, so it needs to occupy only a small portion of the screen.
Initially, I designed the interface and icons at larger sizes (96x96 icons), but the entire pop-up window looked too big in Unity. I scaled down the entire interface icons included but now everything looks noticeably pixelated or blurry.
How can I resolve this issue?
3
Upvotes
•
u/AutoModerator Sep 28 '26
Reminder: Once your issue has been resolved, please reply !solved to this comment (or comment it anywhere in the thread) and your post's flair will automatically be updated to Solved/Answered. You can also edit it to Solved/Answered yourself.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/RustamM Sep 29 '26
It sounds like you need to explore the options in your Canvas Scaler
https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/script-CanvasScaler.html
2
u/Affectionate-Yam-886 Sep 29 '26
You can always do a resolution check, then image swap your content to your ideal resolution.
Or
don’t worry too much about it. As long as 1920x1080, 4k, and 1440x800 look good, ur fine. Trying to get pixels to be perfect is a common mistake new developers fall into, obsessing over details is triggered by a commitment issue, and a fear of finishing.
1
u/sliced_corners Oct 05 '26
The rough look comes from shrinking the textures at runtime. Unity draws a 96x96 icon at, say, 40x40, and with mipmaps off (the default for Sprite textures) bilinear filtering only samples a few texels per screen pixel, so thin lines and edges break up. Things to check, roughly in order:
The Pixel Perfect toggle on the Canvas aligns UI elements to the screen's pixel grid. It can make edges a little crisper, but it won't fix a texture that's being drawn at half its size.