Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2019.4
2019.4.15f1
2020.1
2020.2
2021.1
Issue ID
1293040
Regression
Yes
Crash in GetColorBlockColors when calling Texture2D.GetPixels32 for crunched Texture Formats
How to reproduce:
1. Open user-submitted project (GetPixels32Crash.zip)
2. Attach the CrashScript.cs onto any GameObject
3. Enter Play Mode
Expected result: the Editor does not crash
Actual result: the Editor crashes
Reproducible with: 2019.4.0f1, 2019.4.15f1, 2020.1.14f1, 2020.2.0b11, 2021.1.0a6
Not reproducible with: 2018.4.29f1
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2021.1):
when creating a crunched texture at runtime, no data array is created yet because the size of the data is unknown. This is now properly handled.
Fixed in 2021.2.0a5