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
1
Question by ZG_UCSC · Oct 07, 2016 at 07:41 AM · importing assetscompress

How to prevent Unity 5 from compressing imported high resolution image?

I am working on a space flying game with Unity 5. I am planning to use a high resolution photo(7728*4928, 18.9MB) of the universe as the background. But Unity 5 always compressed the image down to 2048*2048 whenever I tried to import the image as asset. Is there a way to stop Unity from doing the compression? I'd like to keep the original resolution of the photo if possible.

Comment
Add comment · Show 1
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 saschandroid · Oct 07, 2016 at 08:20 AM 0
Share

Have you set the max size for the texture in the import settings? Also check the Texture Quality settings in Edit->Project Settings->Quality for your target platform.

1 Reply

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Kossuranta · Oct 07, 2016 at 10:38 AM

  1. Select your image inside Assets folder

  2. In Inspector your should now see Import Settings

  3. Make Max Size big enough so it doesn't compress your image anymore

  4. Click Apply

Max size selection


nimeton-2.png (7.0 kB)
Comment
Add comment · Show 3 · 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 ZG_UCSC · Oct 07, 2016 at 04:53 PM 0
Share

That worked, thanks a lot. One more question. I set the $$anonymous$$ax Size to 8192 and Format to Truecolor. After applying the change, the size of the imported image became 61.3$$anonymous$$B, whereas the original image was 6.8$$anonymous$$B. How did this happen?

avatar image Raresh ZG_UCSC · Oct 07, 2016 at 04:56 PM 0
Share

Unity upscaled the image. A 8$$anonymous$$ image would be around 64$$anonymous$$B each so yeah. Size increases exponentially as you increase resolution

avatar image Kossuranta ZG_UCSC · Oct 07, 2016 at 05:15 PM 0
Share

Original size doesn't really matter as Unity will pack the image again. Truecolor is basically without any compression. Best thing would be if your image would be POT like 8192x4096 and then use compressed format.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Compressing audio from Microphone.Start 0 Answers

Blendshape import: mesh normals don't import correctly 2 Answers

How can I ensure a material is updated when reimporting a changed 3ds file 1 Answer

Why can't I change anisotropic level in a 2D sprite's import settings? 3 Answers

Skinned Mesh Renderers Bounds rotated incorrectly when importing from Maya. 0 Answers


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