Copyright © 2026 Unity Technologies
We believe this is not a Unity issue, as we managed to crash the project by just clicking "Join Channel". We created a test project playing audio looped back from a microphone and repeatedly disconnected/reconnected non-Apple bluetooth headsets to identify if the Unity audio engine reset was causing the issue and it's not the case. We suspect that Agora's internal code might be interacting with the OS beyond the scope of Unity Engine, as the callstack provided doesn't point at any unity audio symbols. If you can provide us with a repro project that doesn't use any Agora specific code, we can reopen the issue and investigate.
Steps to reproduce:
1. Open the “user's attached project”
2. Open the “BasicAudioCallScene“ Scene
3. Connect to Bluetooth headphones
4. Enter Play Mode
5. Press the “Join Channel” button through Game View
6. Disconnect the Bluetooth headphones
7. If no warnings are being spammed in the Console, connect and disconnect the Bluetooth headphones again
8. Observe warnings and errors being spammed in the Console and the Editor crash after a while
Reproducible with versions: 2021.3.46f1, 2022.3.53f1, 6000.0.29f1, 6000.1.0a6
Reproducible on: macOS 15.1 (M1 Max)
Not reproducible on: macOS 14.6.1 (Intel), Windows 11 (23H2)
Notes:
First few lines of Stack Trace:
#0 0x0000015520a5b4 in mono_get_hazardous_pointer #1 0x000001551612dc in mono_jit_info_table_find_internal #2 0x00000155080b60 in mini_jit_info_table_find_ext #3 0x0000015507fd54 in mono_summarize_unmanaged_stack #4 0x000001551b5eb8 in mono_threads_summarize_native_self
Issues you vote on will appear here