# compressAssetsOnImport

> Enable or disable texture compression during asset import.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static bool compressAssetsOnImport { get; set; }
```

### Remarks

When enabled, Unity compresses textures during import to reduce disk space usage. Disabling this option can speed up the import process but increases disk space usage.
