Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by JenoahKers · Oct 26, 2019 at 08:03 PM · spritecompressionblocks

What is the problem with my imported sprite?

Hi everyone,

I have a problem of which I cannot find the answers. Probably using the wrong search terms...
Anyway, the problem is that I have a sprite that looks good on my computer but blocky(?) on my build. My guess is that it is some sort of compression problem, but I have yet to find the solution for this.

alt text On the left, the image from the build which is followed by the image right out of the editor and how it is supposed to look. The build is a screenshot from an iPhone Xr

Has anyone experienced this and/or know the answer to this problem? I've also had this problem on a lightmap, which I ended up discarding...
Thanks!

compression-problem.png (167.7 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by TheShadyColombian · Oct 26, 2019 at 08:35 PM

If you select your sprite in the project view, the inspector should show you import settings for that sprite. Near the bottom, there's things like compression and also resizing. Typically, if either dimension of your sprite isn't a perfect square (8, 16, 32, 64, 128, 256, 512, 1024, etc) unity will resize your sprite. I'm not 100% sure this is the problem though. I suggest you do a build where you throw in a mesh or something that you know will render perfectly, and if that is also being pixelated, then it might be more likely to be something related to platform-specific quality settings like aliasing artifacts (which I believe are under Edit>Project Settings>Quality)

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JenoahKers · Oct 26, 2019 at 08:47 PM 1
Share

Hi, Thanks for your comment. As you suggested, I have looked in the project settings under Quality, but sadly, I do not see anything that could interfere with the compression. The image is in fact 256x256 pixels, so I do not know what can be going wrong. Anyway, thanks for you comment one again :)

avatar image TheShadyColombian JenoahKers · Oct 26, 2019 at 08:48 PM 0
Share

I'm sorry that didn't work :( I hope you can solve your problem

avatar image
0

Answer by Kristifor_p · Oct 26, 2019 at 09:45 PM

Hmm i had some similar problems before. So i totally understand you this can be very annoying.


My solution was i had created my game art using photoshop and then export it in PNG. After that when i have imported in unity i had changed format to 32bit in unity inspector and then save it.


Let me know if this works for you :)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

150 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

If a texture/sprite is NPOT, does Unity still compress it behind the scenes (by converting it to POT)? 0 Answers

Best texture compression: TinyPNG + Unity sprite Packer? 1 Answer

Black and White compression settings? 2 Answers

Using Texture2D created at runtime to create a Sprite decreases Sprite quality. (Android) 1 Answer

Performance tips on grid base game 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges