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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment