Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    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,079
    __
    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:
    9,995
    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,079
    @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:
    9,995
    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,079
    @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.