Search Issue Tracker
Fixed
Fixed in 2021.3.36f1, 2022.3.21f1, 2023.2.12f1, 2023.3.0b8, 7000.0.0a1
Votes
0
Found in
2022.2.20f1
2023.1.0b17
2023.2.0a15
2023.3.0a3
7000.0.0a1
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
- “Readme” Asset is unreadable in the Inspector window when switching Editor Theme to Light
- “NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
Add comment