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
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
Resolution Note (fix version 2019.3):
Fixed in: 2019.3.3f1