Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2020.2.X



Found in




Issue ID




[macOS] Editor crashes with TLSAllocator::GetAllocatedMemorySize() const when connecting wire-free earbuds in the Play mode



How to reproduce:
1. Make sure that you already pared your wire-free earbuds and they are ready to connect
2. Open the attached project
3. Go to the Game view-> unmute audio in the Brutal01 scene
4. Use built-in dynamics or wired headphones for now and enter the Play mode
5. Without undocking, the Editor connect and turn on your earbuds
=====Crash occurs=====

Reproducible with: 2019.4.8f1, 2020.2.0a20

Devices tested:
Xiaomi Mi Airdots Pro True Wireless Earphones
Sony WH-CH700N Bluetooth headset/earbuds
Haylou GT1

- Could not test with 2018.4 because of the thrown errors
- Not reproducible in a new project with only Audio source
- Not reproducible if you undock the Editor to connect the earbuds (I used the one that connects via Bluetooth)
- Not reproducible with Windows

A few lines from the stack trace:
#0 0x00000111fdbea4 in TLSAllocator::GetAllocatedMemorySize() const
#1 0x00000111faf4fe in MemoryManager::GetTotalAllocatedMemory()
#2 0x00000112d8fbdb in GetUsedHeapSize()
#3 0x00000112f56c02 in GetMiniMemoryOverview()
#4 0x00000111c8aea6 in ProfilerDriver_Get_Custom_PropMiniMemoryOverview()
#5 0x00000199d49df9 in (wrapper managed-to-native) UnityEditorInternal.ProfilerDriver:get_miniMemoryOverview () {0x7f7eb3a16960} + 0x89 (0x199d49d70 0x199d49eb1) [0x177c84c80 - Unity Child Domain]

  1. Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.0a1

  2. Resolution Note (fix version 2020.2):

    fixed in: 2020.2.0b6

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.