Unity-those things about optimization (1), unity-things

Source: Internet
Author: User

Unity-those things about optimization (1), unity-things

Recently, a small project requires that the package size cannot exceed 30 mb.

I did a small experiment in the evening, and the method was indeed very good. However, a lot of things I didn't understand are clear now. I'm a newbie! I hope this article will help you. Thank you!

Experiment results:

Experiment results:

1. There is only one naked cube in the scenario, which is released as PC: 10.7 MB

2. As shown in the preceding figure, Android: 7.8 MB (7880KB)

3. Zoom in the cube in 2 multiple times: 7.8 MB

4. Remove the cube component (transform only): 7.8 MB

5. Remove the cube. In this scenario, only camera: 7.8 MB is used.

6.11 cubes: 7881KB

7. Different cube colors: 7881KB

8:. Empty 2D scenario: 7.8 MB

9. A female image is made of material on the cube, and the image import settings: 1024, compressed -- 8066KB

10. Image import settings: 1024, 16bit -- 8169KB

11. size unchanged, truecolor -- 8373KB

12. Size: 256, truecolor -- 8103KB

13. Size: 256, compressed -- 8019KB

I don't know. I was shocked!

It seems that you should be cautious when using resources in the future.

 

 


How to teach unity3d friends?

No difficulty. A group of people who have never used unity can make a mobile game. There are many tutorials at home and abroad. There are official forums and demo examples. Download them and try again.

In Unity, the scenario is too large (more than 2 GB), leading to old machine cards. How can we optimize it or find other solutions? Supported

Is the kind

If you can, try not to put it in one scenario, divide it into several scenarios, and switch it with a script.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.