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
- Long Prefab save times when using Unity 2022.2 and higher
- Console displays error "UnityException: Creating asset at path Assets/Scenes/ .scenetemplate failed." during scene template saving
- "Development Build" watermark is shown in non-development UWP release builds
- Console errors appear when the Inspector is set to Debug and a GameObject is selected
- A script public variable value is not used when set in the Inspector window
Resolution Note (fix version 2019.3):
Fixed in: 2019.3.3f1