Search Issue Tracker

Fixed in 2020.2

Fix In Review for 2020.1

Planned for 2018.4, 2019.4

Votes

0

Found in

2019.3.0a10

2019.4

2019.4.1f1

2020.1

2020.2

Issue ID

1257655

Regression

Yes

Crash on GetColorBlockColors when entering Play mode in a specific scene

Texture

-

Reproduction steps:
1. Open the attached project ("1257655.zip")
2. Open "clothing" scene
3. Enter Play mode

Reproducible with: 2019.3.0a10, 2019.3.16f1, 2019.4.2f1, 2020.1.0b14, 2020.2.0a16
Not reproducible with: 2018.4.24f1, 2019.3.0a9

First lines of the stacktrace:
0x00007FF7D2FE8D24 (Unity) GetColorBlockColors
0x00007FF7D2FD16AE (Unity) DecompressDXT5Impl<void (__cdecl*)(DXTColBlock const *,Color8888 * const)>
0x00007FF7D2FE7699 (Unity) DecompressNativeTextureFormat
0x00007FF7D308C79E (Unity) HandleDecompression
0x00007FF7D3082944 (Unity) GetImagePixelBlock<ColorRGBAf>

Notes:
- If the provided project is upgraded or downgraded, for Library folder has to be deleted before attempting to reproduce it in another version
- In non-reproducible versions the following error shows up right after entering Play mode:
Cannot access pixel data of compressed texture formats which cannot be partially decompressed (such as Crunch).
UnityEngine.Texture2D:GetPixels()

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Crash no longer reproduces from 2020.2.0a17, but from 2020.2.0b2 we added appropriate errors that let the user know that crunch compressed textures can not be accessed from scripts

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.