Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Configure mesh compression

Compress the data of individual meshes, to impact file size.
Read time 1 minuteLast updated 17 days ago

To use the Mesh Compression setting:
  1. Select a Model in your project’s Assets folder to open the Model tab of the Import Settings window.
  2. Navigate to the Meshes heading and find the Mesh Compression setting.
  3. Select the dropdown menu to choose a level for all meshes in that Model. You can also change this setting in code with the ModelImporterMeshCompression enumeration.
Available values are High, Medium, Low, or Off. The following table shows typical compression ratios for each of these settings:

Value

Vertices

Normals

Tangents

UVs

Color

Off1.01.01.01.01.0
Low1.64.64.42.01.0
Medium2.05.65.33.21.3
High3.27.46.74.02.0
Compression ratios for the mesh compression technique
Note: The “Color” column in the above table shows ratios for a mesh that uses the UNorm8 format. For a mesh that uses the FP32 format for vertex colors, the ratios are 4.0 on the Low setting, 5.3 on the Medium setting, and 8.0 on the High setting.