Skip to main content

Texture size becomes larger after exporting the project

The Unity engine converts PNG files into a format that can be used by the GPU.

For example: one 20 kilobytes PNG file could appear as 374 kilobytes when views in the Unity inspector. The most optimal size in Unity - without any additional compression by Luna - is 60kb. Therefore, the final image size in a Playable Plugin is larger.

Possible solutions:

  • Use WEBP compression on a texture. This will reduce the file size by 50% but will keep the fidelity. However, this is currently available only on iOS 14 or higher.
  • Alternatively, you can experiment with different PNG format options in the Texture tab.

images-medium

  • Try compressing a large texture image to see how it affects the image quality.