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. Dismiss Notice

Question Apng file alternative

Discussion in 'General Graphics' started by giotta, Apr 23, 2023.

  1. giotta

    giotta

    Joined:
    May 31, 2015
    Posts:
    48
    Good morning. Since apng files are not supported in unity, could someone explain to me what is the best way to take to get my apng files inside unity ? how can i use them on unity ? I tried to decompress them with the sequence of png files, but a 5 mega apng becomes 60 mega, and this is not acceptable to me, because I have many. Thx
     
  2. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,134
    Just in case you're not aware Unity doesn't use the original format of the files you import in builds. When you import a .png it will use a different format in the library folder and when you make a build it will use that.
     
    Last edited: Apr 23, 2023
  3. c0d3_m0nk3y

    c0d3_m0nk3y

    Joined:
    Oct 21, 2021
    Posts:
    553
  4. giotta

    giotta

    Joined:
    May 31, 2015
    Posts:
    48
    Thanks for your answer, but I don't understand the meaning. What do you mean?
     
  5. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,238
    An APNG is a lossless video format. Unity does not support APNGs, so you'll need to use a different video format that is supported instead. The documentation @c0d3_m0nk3y linked to suggests Apple ProRes or VP8.
     
    c0d3_m0nk3y likes this.