Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 seantag · Apr 15, 2015 at 03:31 PM · texturebuildoptimization

Why are my texture sizes so large in my build?

I'm building a game for iOS and when I build my app for release the build size is getting quite large. The Editor Log shows I have 721MB of textures:

Editor Log

Yet, when I look at the texture files in Finder they are nowhere near the sizes reported by the Editor Log:

alt text

Right now I'm looking at setting the "Format" for all my sprites to "Compressed" rather than "Truecolor". I'm also turning off mip maps for all textures.

Are they any other things I should be looking at to get the filesize of my final build down to an acceptable level (less than 100MB)?

editor-log.png (86.1 kB)
files-on-disk.png (125.5 kB)
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 cariaga · Apr 16, 2015 at 09:07 AM 0
Share

atlas your textures maybe?

3 Replies

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

Answer by ShabihDesperado · Apr 16, 2015 at 09:11 AM

Well, what you are watching in your log it's the size without any kind of compression. Xcode works in this way and it will be smaller when you'll get the final build. So, don't worry too much. Anyway, try to use atlas for your textures.

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 LeleUnity · Mar 10, 2019 at 06:13 PM 0
Share

@ShabihDesperado You write that they are shown without any kind of compression, THEN how can they be bigger than the original size?

avatar image Eno-Khaon LeleUnity · Mar 10, 2019 at 07:51 PM 0
Share

That's because the original images are often also compressed.

Which compression scheme they use varies, however. In the screenshots in the original question, their images are png files.

The various DXT compression schemes are what Unity is referring to when a texture is "compressed" because those are video-processing-hardware-compatible texture compression schemes.

Furthermore, compression formats are rarely directly compatible with each other, so they would need to be decompressed in order to be re-compressed into a different format anyway.

avatar image
0

Answer by talltoy · Apr 16, 2015 at 10:49 AM

Also, it seems that texture you are using are off A8888, consider to compress to reduce size & memory usage for me A4444 works best, with this size gets reduces by 2, & almost quality are as if A8888. hope that helps.

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
avatar image
0

Answer by screenname_taken · Apr 16, 2015 at 12:19 PM

You are most probably not using any kind of compression. Don't look at the files in your project, they are not what end up in a build. Cycle through your textures in the editor and in the "format" section use a compression scheme that will work for the platform you are aiming for.

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

8 People are following this question.

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

Related Questions

Distribute terrain in zones 3 Answers

How Can I Reduce Build Time for Script-Heavy Projects? 2 Answers

Texture resolution in Web Build drastically drops 1 Answer

Texture compression for 2d games - Unity 2 Answers

How to add developer-information to .app container? 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