Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Mobile [SOLVED] Very slow iOS compression (B24)

Discussion in '5.4 Beta' started by Shushustorm, Jul 2, 2016.

  1. Shushustorm

    Shushustorm

    Joined:
    Jan 6, 2014
    Posts:
    1,084
    __
    EDIT:
    Seems to be solved since B25
    __

    Hello!

    It takes Unity 5.4.0B24 about 2 minutes to change the quality settings for iOS of a normal map after I hit "Apply".

    Greetings,
    Shu

    Case number: 810792
     
    Last edited: Jul 16, 2016
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,988
    If that's a big map (2k?) I'd say that's normal for the pvrtool. (it's recompressing when you change stuff)
     
    Shushustorm likes this.
  3. Shushustorm

    Shushustorm

    Joined:
    Jan 6, 2014
    Posts:
    1,084
    @AcidArrow
    Yes, it is 2048px. Only takes about 4 seconds when recompressing for Mac / Windows / Linux, though.
    I've never experienced such a slow compression before, no matter what platform I was targeting.
    It does, however, reduce its size from 5.3MB (compressed for Mac / Windows / Linux) to 2.7MB (compressed for iOS).
    PVRTC isn't a new way of compressing, though, is it? If it was, that would explain why I didn't notice this before (have been using 5.2.2 before 5.4.0B).
     
    Last edited: Jul 2, 2016
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,988
    DXT compression is much, MUCH faster than pvr and astc.

    Did the compression time change compared to 5.3?
     
  5. Shushustorm

    Shushustorm

    Joined:
    Jan 6, 2014
    Posts:
    1,084
    @AcidArrow
    Can't tell you about 5.3, but I have been developing for iOS in 5.2.2 before without compression taking that long.
    I will take a look at 5.2.2 again and see if I can figure out what's going on.

    EDIT:
    No, this is indeed a new problem. Takes about 15 seconds to compress the exact same texture to 2048px for iOS, PVRTC, normal map in 5.2.2.
     
    Last edited: Jul 2, 2016
    MrEsquire likes this.