Reproduction steps:
1. Open the “IN-83707.zip” project
2. In the Menu bar, press “Tools” → “Test TTS ICE”
3. Observe the crash
Expected result: The Editor does not crash
Actual result: The Editor crashes
Reproducible with: 2.0.0 (2022.3.47f1, 6000.0.20f1)
Could not test with: 1.6.0-pre.1 (2021.3.44f1) (Missing definitions)
Reproducible on: macOS 14.6.1 (M1 Max)
Not reproducible on: No other environment tested
Note: If the crash does not occur instantly, repeat steps 2-3 and wait for a minute until the crash appears
First few lines of the stack trace:
#0 0x0000010346e5dc in MemoryProfiler::UnregisterAllocation(void*, unsigned long, MemLabelId const&)
#1 0x0000010304b570 in MemoryManager::TryDeallocateWithLabel(void*, MemLabelId, char const*, int)
#2 0x00000103045adc in free_alloc_internal(void*, MemLabelId const&, char const*, int)
#3 0x00000102c9767c in UnsafeUtility::Free(void*, NativeCollection::Allocator, ScriptingExceptionPtr*)
#4 0x00000102c97574 in UnsafeUtility_CUSTOM_Free(void*, NativeCollection::Allocator)