Search Issue Tracker
Fixed in 2019.3.X
Votes
1
Found in
2019.3.0a9
2019.3.0f6
Issue ID
1215779
Regression
Yes
[Metal] Editor crashes on MemoryManager::Deallocate when unloading scene with a specific Skybox Material
How to reproduce:
1. Open the attached project "case_1215779.zip"
2. Load the "BlazeSkyCore" scene
3. Load the "NewEmptyScene"
4. If the Editor did not crash repeat steps 2 and 3
-- Observe the crash
Reproducible with: 2019.3.0a9, 2019.3.2f1
Not reproducible with: 2017.4.36f1, 2018.4.17f1, 2019.2.20f1, 2019.3.0a8, 2020.1.0a22
Notes:
- the crash should occur after less than 10 attempts
- only reproducible with Metal API
First lines of the stack trace:
#0 0x007fff707ab49a in __pthread_kill
#1 0x007fff70733a1c in abort
#2 0x007fff70823d20 in turn_on_stack_logging
#3 0x007fff70823ade in malloc_report
#4 0x00000111e0b4c3 in MemoryManager::Deallocate(void*, char const*, int)
#5 0x00000111e0ba67 in MemoryManager::Deallocate(void*, MemLabelId const&, char const*, int)
#6 0x0000010f9a530c in dynamic_array<unsigned char, 0ul>::~dynamic_array()
#7 0x00000112433202 in Texture2D::DestroyTexture()
<...>
-
GainfulSage
Feb 05, 2020 18:12
FYI, the material was purchased from the Unity asset store: https://assetstore.unity.com/packages/2d/textures-materials/sky/4k-space-skyboxes-103868#content
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
- A vertical graphical artifact appears on Android Player when clearing Z & Stencil Buffer and running with OpenGLES3 Graphics API
- Player crashes when built with IL2CPP Scripting backend
- TextMeshPro package throws multiple Shader errors when importing TMP Essential Resources
- Package Manager search text field has no validation and leads to Editor freezes
- PlayerLoop.SetPlayerLoop() function is ignored when playing game in Player
Resolution Note (fix version 2019.3):
Fixed in: 2019.3.3f1