Search Issue Tracker
Fixed in 2021.3.36f1
Fixed in 2021.3.X, 2022.3.X, 2023.3.X
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2022.3):
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.
Resolution Note (fix version 2021.3):
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.