Search Issue Tracker

Fixed in 2017.1

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

Deployment Management

-

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 (8)

  1. 7fd630127a2ccfc75f8abca4e43d6e3b?d=mm

    Tautvydas-Zilys

    Apr 24, 2017 04:17

    The fix for this issue was backported to 5.5.3p1 and 5.6.0p1.

  2. 7c5da4c15d813214fb14f80709e1e8c8?d=mm

    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.

  3. A9ddb895d80d87467bb0893bee49a25b?d=mm

    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

  4. A9ddb895d80d87467bb0893bee49a25b?d=mm

    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.

  5. Ff0793bb7c471a4f65486b1d7ee5ef96?d=mm

    XSUnity

    Mar 23, 2017 09:22

    This bug is reproducible on OSX, iOS , EXE and WEB GL

  6. Eb942822bbe5420648f248b7a7e5de79?d=mm

    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.

  7. Eb942822bbe5420648f248b7a7e5de79?d=mm

    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

  8. 5efe7fb5e69ba1c4b7625417575b1177?d=mm

    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.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.