Search Issue Tracker
Not Reproducible
Not Reproducible in 6000.1.X
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.
Resolution Note (6000.1.X):
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.