Search Issue Tracker
Not Reproducible
Votes
0
Found in
6000.0.51f1
6000.1.9f1
6000.2.0b7
6000.3.0a1
Issue ID
UUM-110842
Regression
Yes
Crash on UnityCreateExternalSurfaceMTL when opening a specific project
How to reproduce:
1. Open the attached “IN-104805“ project
2. Wait a few seconds
3. Close the project
4. Observe the crash
Reproducible with: 2023.2.0a14, 6000.0.51f1, 6000.1.9f1, 6000.2.0b7, 6000.3.0a1
Not reproducible with: 2021.3.53f1, 2022.3.63f1, 2023.2.0a13
Reproducible on: MacOS 15.5 (M4)
Not reproducible on: No other environments tested
Notes:
- Sometimes it’s a silent crash
- Sometimes the project doesn’t open, and the crash happens
- Stacktraces are different on some Unity versions
First few lines of the stack trace:
2023.3.0a14, 6000.0.51f1, 6000.3.0a1:
{noformat}#0 0x00000107b1c034 in block_locate_free
#1 0x000001053c56e4 in DynamicHeapAllocator::Allocate(unsigned long, int)
#2 0x000001053ca6ac in MemoryManager::Allocate(unsigned long, unsigned long, MemLabelId, AllocateOptions, char const*, int)
#3 0x000001053c9bdc in operator new(unsigned long, MemLabelId const&, unsigned long, char const*, int)
#4 0x00000105dec5ec in GfxDeviceClient::AllocRenderSurface(bool){noformat}
6000.2.0b7
{noformat}0x34c501554 - /Applications/Unity/Hub/Editor/6000.2.0b7/Unity.app/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libmonobdwgc-2.0.dylib : mono_dump_native_crash_info
0x34c6595f0 - /Applications/Unity/Hub/Editor/6000.2.0b7/Unity.app/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libmonobdwgc-2.0.dylib : monoeg_assertion_message
0x34c64d4c4 - /Applications/Unity/Hub/Editor/6000.2.0b7/Unity.app/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libmonobdwgc-2.0.dylib : mono_thread_info_list_head
0x34c64ebd8 - /Applications/Unity/Hub/Editor/6000.2.0b7/Unity.app/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libmonobdwgc-2.0.dylib : mono_thread_info_is_async_context
0x34c5f6628 - /Applications/Unity/Hub/Editor/6000.2.0b7/Unity.app/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libmonobdwgc-2.0.dylib : mono_threads_summarize
0x34c50179c - /Applications/Unity/Hub/Editor/6000.2.0b7/Unity.app/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libmonobdwgc-2.0.dylib : mono_dump_native_crash_info{noformat}
6000.1.9f1:
{noformat}#0 0x0000010753af00 in UnityCreateExternalSurfaceMTL
#1 0x0000010753b024 in UnityCreateExternalColorSurfaceMTL
#2 0x0000010753f998 in StartFrameRenderingMTL
#3 0x0000010752e7a0 in MetalWindow::Reshape(int, int, GraphicsFormat, bool)
#4 0x00000105875628 in ThreadedWindow::Reshape(int, int, GraphicsFormat, bool)
#5 0x000001078b2004 in GUIViewPlatform::Reshape(GUIView*, int, int, bool){noformat}
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
- [WebGL] Build fails with "System.IO.IOException: The file is too long." when building with an asset that is over 2GB
- Audio Random Container stops looping when Time parameter is enabled
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
Resolution Note:
Could not reproduce on 6000.3.0a2, 6000.1.8f1, and 6000.2.0b8. m1 mac.
The first time it opened, it crashed but was related to the package manager and the muse package containing corrupted files.
Could not reproduce the crash on closing of the Editor.
For the user: Please try upgrading to 6000.1.8f1 or greater. Resubmit this bug report if the issue persists, thank you.