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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.