Комментарии:
thanks
ОтветитьUtilized this last night, took my game build from 4.29GB to 1.21GB! Thankyou so much Jason!
ОтветитьYou are the man buddy, just awesome.
Ответитьreally just can't thank enough love from PK.
Ответитьthanks
ОтветитьYou are a legend. I'm currently learning the basics of Unity and trying to upload my first basic mini game to Itch and the build size was over 2gb 😂
Thank you for this! I've not only learned how to reduce build size but also the importance of resources. Optimisation is going to be something I learn next because its amazing how quickly my old computer takes a shit (so to speak). I've subbed! :)
for my build size, i already reduce textures and images. but how to reduce meshes size. anyone?
Ответитьanything that can help to reduce mesh size ? Some character model takes 200-400 kb and some take 4-5mb
Clueless for that particular part.
One correction here, when using crunch compression, "Compressor Quality" works like it does when making ZIP files, it's not an output quality slider, it's a "how much effort should the compressor put into compressing this" slider and should always be at 100% unless you're afraid your PC will take forever to compress the file. 100% should result in higher quality without any increase in file size (there's typically a slight change in filesize as it's lossy compression anyway).
ОтветитьHey Jason
You literally saved our game!
We have 1 question though.
Regarding language files assets. We have alot of different languages and korean and chinese language files alone takes up 64mb each. This is HUGE impact on our game, and would therefore like to ask if you had some sort of guide to reducing this dramacticly.
We use NotoSansKorean + Text Mesh pro.
glad any % I can get out of a user's storage space, went from 52 MB to 20 MB
Ответитьwould love a 2022 version of this!
Also what about other categories like Meshs, levels and others?
thanks🙏😊❤️
You rock, Jason! I shaved about a gig and a half off just from bringing most of my max sizes of my files down from 2048 to 1024 without any noticeable difference in my game!
ОтветитьThank you 🥰
Still saving my GDev life in 2022.
I'm making a 2D game and i started making yesterday it was 17mb project but today i added only a health bar and damage system and it's 75 mb project how did that happen?
Build Report
Uncompressed usage by category (Percentages based on user generated assets only):
Textures 889.3 kb 5.3%
Meshes 0.0 kb 0.0%
Animations 21.3 kb 0.1%
Sounds 0.0 kb 0.0%
Shaders 0.0 kb 0.0%
Other Assets 30.3 kb 0.2%
Levels 37.1 kb 0.2%
Scripts 2.0 mb 12.3%
Included DLLs 13.3 mb 81.7%
File headers 17.9 kb 0.1%
Total User Assets 16.3 mb 100.0%
Complete build size 74.9 mb
To save you the 8 minutes, just reduce the images and sound files sizes using unity inspector, test it
It won't make a big effect in the game quality but makes the exported file way smaller.
how to reduce shader size ?
ОтветитьTHANK YOU SO SO MUCH <3
ОтветитьI'm still looking for the answer to the `What's the minimum file size for a Unity file`. I'm thinking it should varry for other platforms. What can one get `away` with on a mobile project for instance?
ОтветитьThanku so much! I am going from Android Studio to Unity.
ОтветитьThank you!
ОтветитьThis info certainly helped me bring a 600 mb PC build down to 300 mb. Sure, some of my larger spritesheets are now a bit blurred around the edges, but it's hard to notice. Will try it with the Android build tomorrow...
ОтветитьThanks! It helps me a lot!
ОтветитьThanks for sharing this informations. It is really helping me. Thanks for that.
ОтветитьIs it the best option for players, if i enable cruch compression with 100% compression quality?
ОтветитьThank you! That's quite informational. Especially for build report.
Ответитьi was worried about build size but now thanks to u i know what needs to be done
ОтветитьExcellent👍👍👍
ОтветитьHey Jason! Great video and very helpful! Thank you!
So I did all that for my android game, and got the textures to reduce from 250mb to 180mb. But my final apk size only reduced from 190mb to 185mb. How do I get to reduce the apk size?
actually saved my life
Ответитьofc i dont have a build report in my log files....
Ответитьmy project have an issue with the size of the shaders:
Build Report
Uncompressed usage by category (Percentages based on user generated assets only):
Textures 27.7 mb 17.2%
Meshes 389.0 kb 0.2%
Animations 136.0 kb 0.1%
Sounds 1.9 mb 1.2%
Shaders 105.2 mb 65.5%
Other Assets 7.4 mb 4.6%
Levels 884.4 kb 0.5%
Scripts 3.1 mb 1.9%
Included DLLs 13.3 mb 8.3%
File headers 561.7 kb 0.3%
Total User Assets 160.5 mb 100.0%
Complete build size 451.9 mb
Used Assets and files from the Resources folder, sorted by uncompressed size:
85.7 mb 19.0% Packages/com.unity.render-pipelines.universal/Shaders/Lit.shader
4.7 mb 1.0% Assets/@@@GameObjects@@@/MovingObjects/Player/Shaders/DissolveShader.shadergraph
4.6 mb 1.0% Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/UberPost.shader
4.2 mb 0.9% Assets/@@@GameObjects@@@/MovingObjects/Portal/PortalShader.shadergraph
2.0 mb 0.4% Assets/Samples/ProBuilder/4.4.0/Universal Render Pipeline Support/Shader/Standard Vertex Color.shadergraph
1.4 mb 0.3% Resources/unity_builtin_extra
do you have an idea how to solve it?
legend
Ответитьfunny enough I was developing my app and a simple loading sprite sheet animation with about 150 frames took 300 MB size haha it was a nightmare as my app size jumped from 76MB to approx 450+ MB
ОтветитьThanks for the video
But my file headers are too large 120mb please how can I reduce it I have tried everything
ty for the tutorial
Ответитьyou re the best man
ОтветитьThanks man! Such an awesome tip!
ОтветитьLiterally saved my exam! Went from 600 mbs to 152 mbs. Thank you!
ОтветитьGreat one, will this work same for asset bundles?
Ответитьyou really are the best man! <3
ОтветитьConverting wav to ogg is working for me . is it good?
Ответитьthxs <3
Ответитьwill this work for avatars? trying to make a 27mb avatar to 10mb so i can upload for oculus quest?
ОтветитьThis is super useful, thanks! (Reduced my game size from 120+mb down to ~30ish. I still have more room to reduce it as well!)
ОтветитьConsider i imported some assets and in that some are not used in game but still there in project. Will unity include those unused files in built?
ОтветитьI know that one
ОтветитьMy images still same size in LOg,what can i DO
Ответитьbest channel for Unity tutorials
Ответить