Search Issue Tracker
Fixed in 2021.3.36f1
Fixed in 2021.3.X, 2022.3.X, 2023.2.X, 2023.3.X, 7000.0.0a1, future release
Votes
0
Found in
2022.2.20f1
2023.1.0b17
2023.2.0a15
2023.3.0a3
Issue ID
UUM-35985
Regression
Yes
"Assertion failed on expression: 'mipLevel < m_MipCount'" error when using Texture2D.Compress() method
Reproduction steps:
1. Open the attached "IN-41188.zip" project
2. Open "Assets/Scenes/SampleScene"
3. Enter Play mode
4. Observe the Console
Expected result: No errors are thrown
Actual result: "Assertion failed on expression: 'mipLevel < m_MipCount'" errors are thrown
Reproducible with: 2022.2.20f1, 2023.1.0b17, 2023.2.0a15
Couldn't test with: 2020.3.48f1, 2021.3.25f1 (CS1061 error)
Reproducible on: Windows 10
Note: Not reproducible in Windows Player
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite texture is null when read from a SpriteAtlas in an Addressables bundle
- Scrolling in the Tile Palette Brush Pick overlay breaks when a lot of Brushes are saved and the List View is enabled
- OnPreprocessAsset is not triggered when AssetPostprocessor version is changed and script recompiles
- Terrain Component and Overlay Text Rendering is broken when using Bitmap Text Rendering Mode
- “No Overlays” Overlay overlaps with the Tile Palette toolbar when docked on the left
Add comment