Search Issue Tracker
Fixed
Fixed in 2020.3.48f1, 2021.1.0a1
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment