# Failed to import asset: 'Assets/Textures/terrain_dxt1.dds'. Error: Texture compression format DXT1 is not supported on this platform (WebGL)

- **ID:** `unity/asset-importer-crash-dds`
- **Domain:** unity
- **Category:** build_error
- **Verification:** ai_generated
- **Fix Rate:** 95%

## Root Cause

The texture uses a GPU-compressed format (e.g., DXT1, BC7) that is not supported by the target build platform (e.g., WebGL, iOS), causing import failure.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| Unity 2022.3 | active | — | — |
| Unity 2023.2 | active | — | — |
| WebGL 2023 | active | — | — |
| iOS 16 | active | — | — |

## Workarounds

1. **In the Inspector, select the texture asset, go to the 'Platform Override' section for the target platform (e.g., WebGL), and change the compression format to a supported one like ASTC (6x6) or ETC2 (RGBA). Example: For WebGL, set Format to ASTC_RGBA_6x6.** (95% success)
   ```
   In the Inspector, select the texture asset, go to the 'Platform Override' section for the target platform (e.g., WebGL), and change the compression format to a supported one like ASTC (6x6) or ETC2 (RGBA). Example: For WebGL, set Format to ASTC_RGBA_6x6.
   ```
2. **If the original .dds file is not needed, reimport the texture as a lossless format (e.g., .png or .tga) and let Unity compress it automatically for the target platform.** (90% success)
   ```
   If the original .dds file is not needed, reimport the texture as a lossless format (e.g., .png or .tga) and let Unity compress it automatically for the target platform.
   ```

## Dead Ends

- **** — Converting the .dds to .png in an external tool without changing compression settings in Unity still fails because the importer detects the original format. (40% fail)
- **** — Enabling 'Override for WebGL' but keeping the same DXT1 format does not help; the platform override must change the format to ASTC or ETC2. (50% fail)
