Search Issue Tracker
Fixed
Votes
0
Found in
2019.4
2020.3
2020.3.25f1
2021.2
Issue ID
1398543
Regression
No
Crash on StackAllocator::TryDeallocate when importing a Texture with Texture Shape 2D Array
Reproduction steps:
1. Open the attached project "Texture2DArray.zip"
2. In the Project's Build Settings ensure that the Build Target is set to iOS
3. Select "t_mountain_combined_n_02.tga" in the Project Window
4. In the Inspector set the "Texture Shape" to "2D Array"
Reproducible with: 2020.3.27f1, 2021.2.0a11
Not reproducible with: 2019.4.35f1 (Texture Shape 2D Array not available)
First lines of the stack trace:
#0 0x000001046e2940 in StackAllocator::TryDeallocate(void*)
#1 0x000001046d8884 in MemoryManager::Deallocate(void*, MemLabelId const&, char const*, int)
#2 0x00000105aa97f3 in CompressWithPVRTexTool(ExternalToolCompressionParams, ExternalToolCompressionError*)
#3 0x00000105aa777f in CompressSingleImageTexture(ImageReference&, TextureFormat, TextureUsageMode, int, bool, bool, bool, unsigned char*, Texture const*)
#4 0x00000105aaaee2 in CompressTexture2DArray(Texture2DArray&, TextureFormat, int, bool, bool)
#5 0x00000105a875f7 in TextureGenerator::GenerateTexture(TextureGlobalSettingsProvider&, TextureGenerationSettings const&, TextureGenerationOutput&)
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note:
Fixed in 2021.2.0a12