Search Issue Tracker
Fixed in 2021.1.0a1
Fixed in 2020.3.X, 2020.3.48f1, 2021.1.X
Votes
0
Found in
2020.3.40f1
Issue ID
UUM-16270
Regression
No
[TextureCompression] Crash when EditorUtility.CompressTexture is called with a Texture2D which has a width and height equal to zero
Reproduction steps:
1. Open the attached “IN-16564.zip” project
2. Click “Bug Test” > “CompressTexture Crash”
Expected result: EditorUtility.CompressTexture fails to compress with an error message (cannot compress 0x0)
Actual result: Unity Editor crashes
Reproducible with: 2020.3.40f1
Not reproducible with: 2021.1.0a1, 2021.3.11f1, 2022.1.17f1, 2022.2.0b8, 2023.1.0a11
Reproducible on: Ubuntu 20.04.5 LTS, Windows 11 Pro 21H2
Notes:
- Windows 11 crashed silently, with no stack trace and bug reporter
- The crash reproduces when creating a new project from the 2D template
- Ubuntu 20.04.5 LTS crashes with no stack trace
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
Add comment