Search Issue Tracker
Fixed in 2017.1.X
Votes
15
Found in
5.5.2f1
Issue ID
885258
Regression
Yes
Unity reports incorrect Textures size in the editor.log after building on Standalone
To reproduce:
1.Download and open attached project.
2.Select texture "texture" and notice that it's size is 1.3 Mb.
3.Go to File->Build Settings and build the project on Standalone.
4.Check the editor.log file after build.
5.Notice that where the Player size statistics information is, incorrect texture size is reported.
Expected result: Correct Textures size is printed in the editor log (1.3Mb).
Actual result: Incorrect Textures size is printed in the editor log(0.1Kb).
Reproduced with: 5.6.0b10, 5.5.2f1, 5.5.1p4
Not reproduced with: 5.5.1f1, 5.5.0p4, 5.5.0f3, 5.4.4p3, 5.3.7.p2
Regression introduced in: 5.5.1p4
Comments (9)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Tautvydas-Zilys
Apr 24, 2017 04:17
The fix for this issue was backported to 5.5.3p1 and 5.6.0p1.
Appxplore
Apr 06, 2017 10:38
Hi,
is it possible to add in a patch and fix this in Unity3d 5.6? as this is actually a main component for us if we want to optimized our build size, Unity3d without this is actually not complete.
Thank you.
sidebolt
Apr 04, 2017 14:35
Tested it and this is not fixed in 5.6. Will have to wait for 2017.1 beta or roll back to 5.5.0
sidebolt
Apr 04, 2017 13:41
Can anyone confirm if this was fixed in Unity 5.6 release? We are planning to publish a game by the end of the month and need to reduce file size on iOS. However, I'm stuck with little information on asset size as we are on Unity 5.5.2f1 where this bug is still occuring.
XSUnity
Mar 23, 2017 09:22
This bug is reproducible on OSX, iOS , EXE and WEB GL
AndyKorth
Mar 17, 2017 16:31
This is what it prints for my desktop standalone game:
http://kortham.net/temp/upshot_IFvCcFRy.png
The game has a few hundred mb of textures, not 345 kb, as it reports.
AndyKorth
Mar 17, 2017 16:24
There were problems back in 5.4.x with packed sprite texture sheets. It seems to be worse in 5.5.2f1. I can confirm both packed and unpacked sprites are a problem, in addition to other textures.
https://issuetracker.unity3d.com/issues/packed-texture-sheet-size-statistics-output-is-not-available-in-editor-log-sice-5-dot-4-version
This feature is expected to work since it's documented here:
https://docs.unity3d.com/Manual/ReducingFilesize.html
lpiljek
Mar 08, 2017 13:27
This happens in our project when building for iOS too (unity 5.5.2p1). It doesn't seem to matter if the texture is compressed or not.