Search Issue Tracker

Fixed

Fixed in 2021.3.36f1, 2022.3.21f1

Votes

0

Found in

2020.3.39f1

2021.3.30f1

2022.3.9f1

2023.1.13f1

2023.2.0b9

2023.3.0a5

Issue ID

UUM-48893

Regression

No

MipMaps get removed from textures when using EditorUtility.CompressTexture

-

Reproduction steps:
1. Open project “TextureCompress.zip”
2. Expand "washing_machine.glb" subassets in the Project window and select the “Texture_1” texture
3. Observe the texture having MipMaps (slider at the top right corner of the texture) through the Inspector
4. Select "washing_machine.glb" in the Project window
5. Select any of the options for “Compression\Texture Compression” in the Inspector and click Apply

Expected result: EditorUtility.CompressTexture keeps the same MipMaps
Actual result: the textures don’t have MipMaps anymore

Reproducible with: 2021.3.30f1, 2022.3.9f1, 2023.1.13f1, 2023.2.0b9, 2023.3.0a5

Reproducible on: macOS Ventura 13.2.1 (Intel)
Not reproducible on: no other environment tested

  1. Resolution Note (fix version 2022.3.21f1):

    The problem appears to have already been fixed in 2022.3.21f1, as part of the following issue: https://issuetracker.unity3d.com/issues/assertion-failed-on-expression-miplevel-m-mipcount-error-when-using-texture2d-dot-compress-method

    Please let us know if you are still facing any problems.

  2. Resolution Note (fix version 2021.3.36f1):

    The problem appears to have already been fixed in 2021.3.36f1, as part of the following issue: https://issuetracker.unity3d.com/issues/assertion-failed-on-expression-miplevel-m-mipcount-error-when-using-texture2d-dot-compress-method

    Please let us know if you are still facing any problems.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.