Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.3f1
2019.2.0a1
2019.3.0a1
Issue ID
1179336
Regression
No
Editor crashes when creating new Texture2D with DXT1Crunched, DXT5Crunched, ETC_RGB4Crunched, ETC2_RGBA8Crunched TextureFormat
Steps to reproduce:
1. Download 1179336_repro.zip and open "SampleScene"
2. Enter play mode
Results: Editor crashes when creating Texture with DXT1Crunched, DXT5Crunched, ETC_RGB4Crunched, ETC2_RGBA8Crunched TextureFormat.
Reproduced with: 2020.1.0a1, 2019.3.0b1, 2019.2.3f1, 2018.4.7f1, 2017.4.32f1
Note:
- Reproduced on Windows 10, Ubuntu
- Not Reproducible on MacOS
- Before the crash, an exception is triggered 'ETC_RGB4Crunched/ETC2_RGBA8Crunched' is not supported on this platform. Decompressing texture. Use 'SystemInfo.SupportsTextureFormat' C# API to check format support.'
========== OUTPUTTING STACK TRACE ==================
0x00007FF631D1A838 (Unity) memcpy
0x00007FF62FD05C6E (Unity) BlitCopyCompressedImage
0x00007FF62FCC413D (Unity) TextureOp<SharedTextureData>::ExtractCompressedImage
0x00007FF62FCC4383 (Unity) Texture2D::ExtractMipLevel
0x00007FF62FCC33E3 (Unity) Texture2D::CreateScaledAndPaddedData
0x00007FF62FCCD185 (Unity) Texture2D::UploadTexture
0x00007FF62FCC0EC3 (Unity) Texture2D::AwakeFromLoad
0x00007FF62FBFF119 (Unity) Texture2DScripting::Create
0x00007FF6306B6B92 (Unity) Texture2D_CUSTOM_Internal_CreateImpl
0x0000019C38CFE553 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Texture2D:Internal_CreateImpl (UnityEngine.Texture2D,int,int,int,UnityEngine.Experimental.Rendering.GraphicsFormat,UnityEngine.Experimental.Rendering.TextureCreationFlags,intptr)
0x0000019C38CFE313 (Mono JIT Code) UnityEngine.Texture2D:Internal_Create (UnityEngine.Texture2D,int,int,int,UnityEngine.Experimental.Rendering.GraphicsFormat,UnityEngine.Experimental.Rendering.TextureCreationFlags,intptr)
0x0000019C38CF676B (Mono JIT Code) UnityEngine.Texture2D:.ctor (int,int,UnityEngine.TextureFormat,int,bool,intptr)
0x0000019C3B25D81B (Mono JIT Code) UnityEngine.Texture2D:.ctor (int,int,UnityEngine.TextureFormat,bool,bool)
<...>
========== END OF STACKTRACE ===========
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2020.2):
Fixed crash when creating NPOT Crunched texture and creating Crunched texture with size not a multiple of 4 will now throw exception.
Resolution Note (fix version 2020.1):
Fixed crash when creating NPOT Crunched texture and creating Crunched texture with size not a multiple of 4 will now throw exception.
Fixed in 2020.1.0b15
Resolution Note (fix version 2019.4):
Fixed crash when creating NPOT Crunched texture and creating Crunched texture with size not a multiple of 4 will now throw exception.
Fixed in 2019.4.3f1