- Home /
Unity Showing wrong file size in Editor Log
I'm doing a game project and I've used only color shaders not textures. And also I've turned some stage videos into movie texture. But the video folder itself 15mb only. But my editor log shows I have more than 350mb content in textures.
In the image, the panel folder showing images are just 208kb but it showing each file as 13mb.
Answer by Bunny83 · Apr 16, 2018 at 08:48 AM
Those textures are located in the Resources folder. Any assets inside the Resources folder will always be included in a build. You should only put assets inside a Resources folder if you are 100% sure you need those files in a build. The Resources folder allows you to dynamically load the assets at runtime using the Resources class. That's why all those assets are shipped with your build.
Note that the source file format doesn't matter at all. Unity imports assets into it's own internal asset format and based on the target platform and import settings the resolution and compression may change.
I am having Image in Images folder not in Resources folder, then too after build Texture size in Editor log is showing very large number than the size of an actual image. Actual size of Image is 21 $$anonymous$$B, but in Editor log it is showing 10.9 $$anonymous$$B.
Answer by marwinwend · Jun 07, 2021 at 01:03 PM
I have the same issue. My log says that every jpg is about 6MB big: But when I inspect the images with Windows explorer, every picture needs only 14-70KB.
Your answer
Follow this Question
Related Questions
Texturing - one big one or many small ones? 0 Answers
HTML5 Build is MASSIVE - how can I reduce its size? 0 Answers
If I change my png sequence to texture atlas will I reduce file size? 1 Answer
Android build file size in Unity 2018.1.1 1 Answer
Android Apk file size very large, unnecessary assets comressed in APK? 1 Answer