Incorrect asset build size for textures being reported in Editor log for Windows Store Apps

EDIT : This issue was occurring with Unity 5.6.0. After upgrading to 5.6.0p2, it seems the issue is now fixed.

I’m looking at the editor log to see which assets are taking up the most space in my UWP 10 build.

I’m getting some strange readings for textures, compared to other platforms, which paint a much more accurate picture…

For example, I get this in the log…

Textures 733.5 kb 0.7%
Meshes 17.3 mb 17.0%
Animations 516.0 kb 0.5%
Sounds 19.9 mb 19.5%
Shaders 1.8 mb 1.8%
Other Assets 3.9 mb 3.9%
Levels 53.2 mb 52.3%
Scripts 4.2 mb 4.1%
Included DLLs 124.0 kb 0.1%
File headers 223.7 kb 0.2%
Complete size 101.8 mb 100.0%

But on a WebGL build for instance, my Textures will be around the 80mb mark.

This texture, for example, UI-ATLAS.png, in the editor, is a 4096x2048 atlas, reporting a size of 42.7mb.

Yet in the editor build log, its reporting the following…

0.1 kb 0.0% Assets/UI/Atlas/UI-Atlas.png 0.1 kb

This goes for basically all textures in the build log, which report 0.1kb.

The texture has no compression set on it whatsoever in the editor.
The ‘Default’ tab has the compression set to none.

EDIT : I get the same reading on Windows Standalone builds.
I’m using Unity 5.6.0

Looks like you hit this issue:

It was fixed in 5.5.3p1 and 5.6.0p1.

1 Like

Hehe, I had a quick look through the release notes but couldn’t spot anything, glad upgrading worked :slight_smile: