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
- The terrain appears darker when "Per-pixel Normal" is enabled
- [Linux] Editor assertion causes Test Runner to fail when executing it in Batch Mode
- Color selection by the mouse cursor is still enabled when the "Esc" button is pressed
- Game view becomes black and the Scene window becomes grey, “ArgumentOutOfRangeException” errors and “Render Pipeline error” warnings appear after changing the name or deleting URP/HDRP global settings file
- Transform Component is not accessible inside the Player when RuntimeInitializeOnLoadMethod is used
Add comment