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
- Component Glyphs value is truncated and Ligature Table glyph fields become inaccessible when increasing the Component Glyphs count
- There is no “Overwrite Preset?” popup when saving a Customizable Toolbar preset with a name that already exists
- Customizable Toolbar preset does not switch to the Unity Default Preset when Reverting All Saved Presets or deleting the active Preset
- [Usability] Selected node gets unselected when undoing changes in the Graph Inspector Node Settings tab
- Search Default option for Column Format does not reset the column's format
Resolution Note:
Fixed in 2021.2.0a12