Search Unity

Sprite Atlas Runtime Generation

Discussion in '2D Experimental Preview' started by npatch, Apr 18, 2017.

  1. npatch

    npatch

    Joined:
    Jun 26, 2015
    Posts:
    122
    I read in the latest Experimental Release that you've parallelized the packing process.

    Is that just for the Editor or will it be possible on runtime as well?

    Unfortunately, my use case is for an application that has to download lots of pngs(different sizes), load them as sprites/texture2Ds and use them.

    I used Texture2D.PackTextures but it was slow and a bit simplistic in its approach. Not to mention it downsized some textures to fit the max size,whereas SpritePacker in-editor produces an atlas with multiple pages without compromising the textures themselves, if I remember correctly.

    So I was wondering whether SpritePacker would be accessible in newer versions for runtime as well.
     
  2. Johaness_Reuben

    Johaness_Reuben

    Unity Technologies

    Joined:
    Jan 27, 2016
    Posts:
    253
    Currently it's not available at runtime. It is on our radar, and we have had some internal discussions about it but its not in the immediate pipeline.
     
  3. npatch

    npatch

    Joined:
    Jun 26, 2015
    Posts:
    122
    I see, thank you for the response!
     
  4. SamuelObvious

    SamuelObvious

    Joined:
    Nov 12, 2018
    Posts:
    1
    Hello,
    Sorry to dig this post,
    There is any new on this feature ?
     
  5. THE_MEDICI

    THE_MEDICI

    Joined:
    Apr 8, 2018
    Posts:
    22
    I'd also like to see this.
     
    zyzyx likes this.