Search Issue Tracker
Not Reproducible
Votes
0
Found in
2021.3.46f1
2022.3.53f1
6000.0.29f1
6000.1.0a6
Issue ID
UUM-88057
Regression
No
[Silicon] Crash on mono_get_hazardous_pointer when disconnecting Bluetooth Headhpones while in Play Mode
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:
- Reconnecting the Bluetooth headphones before the editor crashes, the warnings and errors will stop printing and no crash occurs;
- No crash occurs when enabling the "Disable Unity Audio" option in “Project Settings\Audio”;
- The user states, that the issue only reproduces with third-party/non-Apple Bluetooth Headphones;
- No repro in Standalone Player
First few lines of Stack Trace:
{noformat}#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{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
- SearchExpression strips quotes
- dSYM file is not created during macOS standalone build
- Project Settings panels disappear and do not repaint when entering Play Mode without reloading Domain
- Screen Space Decals ignore Rendering Layer Mask when using OpenGL Graphics API
- Crash on scripting_method_invoke when the Player is build before entering the Play mode in the Editor
Resolution Note:
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.