Search Issue Tracker
Fixed in 2021.3.37f1
Fixed in 2021.3.X, 2022.3.X, 2023.2.X, 6000.0.X, 6000.0.0b11
Votes
0
Found in
2022.2.21f1
2022.3.5f1
2023.1.16f1
2023.2.0b11
2023.3.0a7
6000.0.0b11
Issue ID
UUM-48520
Regression
Yes
Non power of 4 BC1 texture fallback code can lead to a crash with some textures
Observed in VRChat with a 2019-built 2x2 BC1 texture. The fallback code truncates the number of mips from 3 to 2 which puts the texture at a size (20B) which then leads to a some memory getting corrupted which causes a crash on free.
Likely reproducable with a 2x2 BC1 texure with 3 mips being loaded into a 2022.3 player and hitting the fallback code.
We haven't been able to manufacture a standalone repro project for this, although the pre-build bundle that
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The sidebar reopens when Unity Hub is started when Unity Hub was closed with the sidebar closed
- Characters are invisible in the TextField when certain Japanese characters are used
- "InvalidOperationException" is thrown when using Prefab > Replace to replace a Canvas GameObject with a Prefab that has an incompatible root Transform type
- Looping AudioSource resumes from the wrong playback position when the app is backgrounded and resumed on iOS Safari
- "AnyState Transition Created" action can be undone when pressing "Auto Generate Animation" on the uGUI GameObjects
Resolution Note (fix version 6000.0):
Since the compressed data in such small textures is actually larger than the uncompressed data, memory corruption was observed. This has been fixed.